[Ocfs-tools-commits] smushran commits r218 - trunk/format
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Sep 22 17:27:51 CDT 2004
Author: smushran
Date: 2004-09-22 17:27:49 -0500 (Wed, 22 Sep 2004)
New Revision: 218
Modified:
trunk/format/system.c
Log:
duh
Modified: trunk/format/system.c
===================================================================
--- trunk/format/system.c 2004-09-22 20:18:18 UTC (rev 217)
+++ trunk/format/system.c 2004-09-22 22:27:49 UTC (rev 218)
@@ -101,6 +101,7 @@
{
int status = 0;
void *buf = NULL;
+ ocfs_bitmap_lock *bm_lock;
buf = MemAlloc(OCFS_SECTOR_SIZE);
if (buf == NULL)
@@ -112,7 +113,7 @@
if (!Read(file, OCFS_SECTOR_SIZE, buf))
goto bail;
- ocfs_bitmap_lock *bm_lock = (ocfs_bitmap_lock *) buf;
+ bm_lock = (ocfs_bitmap_lock *) buf;
memset(buf, 0, OCFS_SECTOR_SIZE); // why?
bm_lock->used_bits = ocfs_count_bits(&global_bm);
More information about the Ocfs-tools-commits
mailing list