From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1567 invoked by alias); 15 Apr 2008 03:51:32 -0000 Received: (qmail 1533 invoked by uid 9702); 15 Apr 2008 03:51:32 -0000 Date: Tue, 15 Apr 2008 03:51:00 -0000 Message-ID: <20080415035131.1517.qmail@sourceware.org> From: fabbione@sourceware.org To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com Subject: Cluster Project branch, STABLE2, updated. cluster-2.03.00-10-ge1718ac X-Git-Refname: refs/heads/STABLE2 X-Git-Reftype: branch X-Git-Oldrev: 5866e09c192ee617a7e0a221fa7e871066950688 X-Git-Newrev: e1718ace02bf0c3f890676b246816fc184b9d07b Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00094.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=e1718ace02bf0c3f890676b246816fc184b9d07b The branch, STABLE2 has been updated via e1718ace02bf0c3f890676b246816fc184b9d07b (commit) via 35d0ea0c438d09622fbeadc2b93db1c0448434c0 (commit) from 5866e09c192ee617a7e0a221fa7e871066950688 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e1718ace02bf0c3f890676b246816fc184b9d07b Author: Andrew Price Date: Tue Apr 15 05:48:12 2008 +0200 [GFS2] gfs2_fsck: Fix operation on 'ptr' may be undefined warnings Occurrences of *ptr++ in fs_recovery.c made gcc throw up "operation on 'ptr' may be undefined" warnings. This patch disambiguates those occurrences. Signed-off-by: Andrew Price Signed-off-by: Fabio M. Di Nitto commit 35d0ea0c438d09622fbeadc2b93db1c0448434c0 Author: Fabio M. Di Nitto Date: Tue Apr 15 05:30:02 2008 +0200 [BUILD] Fix typo Signed-off-by: Fabio M. Di Nitto ----------------------------------------------------------------------- Summary of changes: configure | 2 +- gfs2/fsck/fs_recovery.c | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 817ca4f..13ed3e6 100755 --- a/configure +++ b/configure @@ -231,7 +231,7 @@ if ($help || !$err) { print "--without_gfs2\tDisable gfs2 building (Default: enabled)\n"; print "--without_gnbd\tDisable gnbd building (Default: enabled)\n"; print "--without_rgmanager\tDisable rgmanager building (Default: enabled)\n"; - print "--disable_kernel_check\tDisable kernel version check (default: enabled)\n"; + print "--disable_kernel_check\tDisable kernel version check (Default: enabled)\n"; exit $ret; } diff --git a/gfs2/fsck/fs_recovery.c b/gfs2/fsck/fs_recovery.c index 3b25dc6..3e4094b 100644 --- a/gfs2/fsck/fs_recovery.c +++ b/gfs2/fsck/fs_recovery.c @@ -125,7 +125,8 @@ static int buf_lo_scan_elements(struct gfs2_inode *ip, unsigned int start, sd_found_metablocks++; - blkno = be64_to_cpu(*ptr++); + blkno = be64_to_cpu(*ptr); + ptr++; if (gfs2_revoke_check(sdp, blkno, start)) continue; @@ -218,8 +219,10 @@ static int databuf_lo_scan_elements(struct gfs2_inode *ip, unsigned int start, gfs2_replay_incr_blk(ip, &start); for (; blks; gfs2_replay_incr_blk(ip, &start), blks--) { - blkno = be64_to_cpu(*ptr++); - esc = be64_to_cpu(*ptr++); + blkno = be64_to_cpu(*ptr); + ptr++; + esc = be64_to_cpu(*ptr); + ptr++; sd_found_jblocks++; hooks/post-receive -- Cluster Project