[Ocfs2-tools-commits] zab commits r323 - trunk/mkfs.ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Oct 7 18:51:49 CDT 2004
Author: zab
Date: 2004-10-07 18:51:47 -0500 (Thu, 07 Oct 2004)
New Revision: 323
Modified:
trunk/mkfs.ocfs2/mkfs.c
Log:
o the orphan dir's '..' entry should point to the system dir inode
Modified: trunk/mkfs.ocfs2/mkfs.c
===================================================================
--- trunk/mkfs.ocfs2/mkfs.c 2004-10-07 23:19:04 UTC (rev 322)
+++ trunk/mkfs.ocfs2/mkfs.c 2004-10-07 23:51:47 UTC (rev 323)
@@ -451,7 +451,7 @@
orphan_dir->record = tmprec;
alloc_from_bitmap(s, 1, s->global_bm, &tmprec->extent_off, &tmprec->extent_len);
add_entry_to_directory(s, orphan_dir, ".", tmprec->fe_off, OCFS2_FT_DIR);
- add_entry_to_directory(s, orphan_dir, "..", tmprec->extent_off, OCFS2_FT_DIR);
+ add_entry_to_directory(s, orphan_dir, "..", system_dir_rec.fe_off, OCFS2_FT_DIR);
tmprec = s->global_bm->bm_record;
alloc_bytes_from_bitmap(s, tmprec->extent_len, s->global_bm,
More information about the Ocfs2-tools-commits
mailing list