[Ocfs-tools-commits] khackel commits r30 - trunk/format
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed May 5 18:20:53 CDT 2004
Author: khackel
Date: 2004-05-05 17:20:51 -0500 (Wed, 05 May 2004)
New Revision: 30
Modified:
trunk/format/system.c
Log:
more changes for global bitmap file entry
Modified: trunk/format/system.c
===================================================================
--- trunk/format/system.c 2004-05-05 21:33:09 UTC (rev 29)
+++ trunk/format/system.c 2004-05-05 22:20:51 UTC (rev 30)
@@ -286,6 +286,11 @@
fe->u.bitinfo.used_bits = 0; // used bits in bitmap
fe->u.bitinfo.total_bits = volhdr->num_clusters;// total valid bits in bitmap
+ fe->extents[0].disk_off = volhdr->bitmap_off;
+ fe->extents[0].file_off = 0ULL;
+ fe->extents[0].num_bytes = OCFS_MAX_BITMAP_SIZE;
+ fe->next_free_ext = 1;
+
if (!SetSeek(file, OCFS_BITMAP_LOCK_OFFSET))
goto bail;
if (!Write(file, OCFS_SECTOR_SIZE, (void *) fe))
More information about the Ocfs-tools-commits
mailing list