[Ocfs2-commits] khackel commits r1097 - branches/format-changes/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Jun 14 16:57:16 CDT 2004


Author: khackel
Date: 2004-06-14 15:57:14 -0500 (Mon, 14 Jun 2004)
New Revision: 1097

Modified:
   branches/format-changes/src/super.c
Log:
fixed uninitialized bh in statfs

Modified: branches/format-changes/src/super.c
===================================================================
--- branches/format-changes/src/super.c	2004-06-14 20:46:43 UTC (rev 1096)
+++ branches/format-changes/src/super.c	2004-06-14 20:57:14 UTC (rev 1097)
@@ -741,7 +741,7 @@
 	unsigned int reserved_bits;
 	int status;
 	ocfs2_dinode *bm_lock;
-	struct buffer_head *bh;
+	struct buffer_head *bh = NULL;
 	struct inode *inode = NULL;
 
 	LOG_ENTRY_ARGS ("(%p, %p)\n", sb, buf);



More information about the Ocfs2-commits mailing list