[Ocfs-tools-commits] khackel commits r61 - trunk/ocfs2/format
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Jun 14 16:41:25 CDT 2004
Author: khackel
Date: 2004-06-14 15:41:22 -0500 (Mon, 14 Jun 2004)
New Revision: 61
Modified:
trunk/ocfs2/format/mkfs2.c
Log:
fix the l_count
Modified: trunk/ocfs2/format/mkfs2.c
===================================================================
--- trunk/ocfs2/format/mkfs2.c 2004-06-14 07:06:05 UTC (rev 60)
+++ trunk/ocfs2/format/mkfs2.c 2004-06-14 20:41:22 UTC (rev 61)
@@ -636,6 +636,7 @@
di->i_atime = di->i_ctime = di->i_mtime = cpu_to_le64(format_time);
di->i_dtime = 0;
di->i_clusters = cpu_to_le32(clusters);
+ di->id2.i_list.l_count = cpu_to_le16(ocfs2_extent_recs_per_inode(blocksize));
di->id2.i_list.l_next_free_rec = cpu_to_le16(0);
di->id2.i_list.l_tree_depth = cpu_to_le16(-1);
if (rec->extent_len) {
More information about the Ocfs-tools-commits
mailing list