[Ocfs2-tools-commits] manish commits r899 - trunk/fsck.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu May 19 16:43:51 CDT 2005


Author: manish
Date: 2005-05-19 16:43:49 -0500 (Thu, 19 May 2005)
New Revision: 899

Modified:
   trunk/fsck.ocfs2/pass4.c
Log:
Quiet gcc. We shouldn't get here with num_nodes == 0, since upper layers
would have checked this, but it doesn't hurt to bail gracefully if things
are screwy.


Modified: trunk/fsck.ocfs2/pass4.c
===================================================================
--- trunk/fsck.ocfs2/pass4.c	2005-05-19 00:43:39 UTC (rev 898)
+++ trunk/fsck.ocfs2/pass4.c	2005-05-19 21:43:49 UTC (rev 899)
@@ -142,7 +142,7 @@
 
 static errcode_t replay_orphan_dir(o2fsck_state *ost)
 {
-	errcode_t ret;
+	errcode_t ret = OCFS2_ET_CORRUPT_SUPERBLOCK;
 	char name[PATH_MAX];
 	uint64_t ino;
 	int bytes;



More information about the Ocfs2-tools-commits mailing list