[Ocfs-tools-commits] jlbec commits r135 - trunk/ocfs2/libocfs2
    svn-commits at oss.oracle.com 
    svn-commits at oss.oracle.com
       
    Fri Jul  2 19:02:31 CDT 2004
    
    
  
Author: jlbec
Date: 2004-07-02 18:02:28 -0500 (Fri, 02 Jul 2004)
New Revision: 135
Modified:
   trunk/ocfs2/libocfs2/extents.c
Log:
o Fix extents.c debug code
Modified: trunk/ocfs2/libocfs2/extents.c
===================================================================
--- trunk/ocfs2/libocfs2/extents.c	2004-07-02 22:50:55 UTC (rev 134)
+++ trunk/ocfs2/libocfs2/extents.c	2004-07-02 23:02:28 UTC (rev 135)
@@ -496,10 +496,7 @@
 		wb->run_prev_blkno = blkno;
 		wb->run_first_blkno = blkno;
 		fprintf(stdout, "BLOCKS:\n");
-		return 0;
-	}
-
-	if ((wb->run_prev_blkno + 1) != blkno) {
+	} else if ((wb->run_prev_blkno + 1) != blkno) {
 		if (wb->run_first_bcount)
 			fprintf(stdout, ", ");
 
@@ -519,7 +516,7 @@
 	}
 
 	if ((bcount + 1) == wb->last_block) {
-		if (bcount)
+		if (wb->run_first_bcount)
 			fprintf(stdout, ", ");
 
 		if ((wb->run_prev_blkno + 1) != blkno) {
    
    
More information about the Ocfs-tools-commits
mailing list