[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.03.00-10-ge1718ac



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 <andy andrewprice me uk>
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 <andy andrewprice me uk>
    Signed-off-by: Fabio M. Di Nitto <fabbione fabbione net>

commit 35d0ea0c438d09622fbeadc2b93db1c0448434c0
Author: Fabio M. Di Nitto <fabbione fabbione net>
Date:   Tue Apr 15 05:30:02 2008 +0200

    [BUILD] Fix typo
    
    Signed-off-by: Fabio M. Di Nitto <fabbione fabbione net>

-----------------------------------------------------------------------

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]