[Ocfs-tools-commits] jlbec commits r81 - trunk/ocfs2/format

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Jun 17 22:15:16 CDT 2004


Author: jlbec
Date: 2004-06-17 21:15:13 -0500 (Thu, 17 Jun 2004)
New Revision: 81

Modified:
   trunk/ocfs2/format/mkfs2.c
Log:

o Make root dir '.' and '..' point to the root dir inode (just a
  little nicer, the kernel doesn't use the values).



Modified: trunk/ocfs2/format/mkfs2.c
===================================================================
--- trunk/ocfs2/format/mkfs2.c	2004-06-18 02:08:13 UTC (rev 80)
+++ trunk/ocfs2/format/mkfs2.c	2004-06-18 02:15:13 UTC (rev 81)
@@ -1119,8 +1119,8 @@
 	alloc_from_bitmap (1, global_bm, &root_dir_rec.extent_off, &root_dir_rec.extent_len);
 	root_dir_rec.fe_off = alloc_inode(1);
 	root_dir->record = &root_dir_rec;
-	add_entry_to_directory(root_dir, ".", root_dir_rec.extent_off, OCFS2_FT_DIR);
-	add_entry_to_directory(root_dir, "..", root_dir_rec.extent_off, OCFS2_FT_DIR);
+	add_entry_to_directory(root_dir, ".", root_dir_rec.fe_off, OCFS2_FT_DIR);
+	add_entry_to_directory(root_dir, "..", root_dir_rec.fe_off, OCFS2_FT_DIR);
 
 
 	/* system directory */	



More information about the Ocfs-tools-commits mailing list