[Ocfs2-commits] rev 763 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Mar 8 12:52:04 CST 2004
Author: mfasheh
Date: 2004-03-08 12:52:02 -0600 (Mon, 08 Mar 2004)
New Revision: 763
Modified:
trunk/src/sysfile.c
Log:
fix a minor bug in the filename during creation of orphan dirs
Modified: trunk/src/sysfile.c
===================================================================
--- trunk/src/sysfile.c 2004-03-06 00:16:13 UTC (rev 762)
+++ trunk/src/sysfile.c 2004-03-08 18:52:02 UTC (rev 763)
@@ -150,7 +150,7 @@
* with the rest of the system files. */
file_id = OCFS_ORPHAN_DIR + node_num;
offset = (file_id * osb->sect_size) + osb->vol_layout.root_int_off;
- sprintf(filename, "%s%d", OCFS_ORPHAN_DIR_FILENAME, node_num);
+ sprintf(filename, "%s%d", OCFS_ORPHAN_DIR_FILENAME, file_id);
/* Alright, allocate and create the dirnode */
numblks = OCFS_DEFAULT_DIR_NODE_SIZE >> 9;
More information about the Ocfs2-commits
mailing list