[Ocfs2-tools-commits] zab commits r453 - trunk/fsck.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Dec 3 13:02:02 CST 2004


Author: zab
Date: 2004-12-03 13:02:00 -0600 (Fri, 03 Dec 2004)
New Revision: 453

Modified:
   trunk/fsck.ocfs2/journal.c
Log:
o wrap journal block references at maxlen, not just after it


Modified: trunk/fsck.ocfs2/journal.c
===================================================================
--- trunk/fsck.ocfs2/journal.c	2004-12-03 02:15:55 UTC (rev 452)
+++ trunk/fsck.ocfs2/journal.c	2004-12-03 19:02:00 UTC (rev 453)
@@ -195,7 +195,7 @@
 	if (diff == 0) /* ugh */
 		return 0;
 
-	while (block > jsb->s_maxlen)
+	while (block >= jsb->s_maxlen)
 		block -= diff;
 
 	return block;



More information about the Ocfs2-tools-commits mailing list