[Ocfs2-commits] jlbec commits r2238 - trunk/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu May 12 22:41:57 CDT 2005


Author: jlbec
Signed-off-by: mfasheh
Date: 2005-05-12 22:41:55 -0500 (Thu, 12 May 2005)
New Revision: 2238

Modified:
   trunk/fs/ocfs2/namei.c
Log:

o No need for size_t in ORPHAN_DIR_NAMELEN

Signed-off-by: mfasheh



Modified: trunk/fs/ocfs2/namei.c
===================================================================
--- trunk/fs/ocfs2/namei.c	2005-05-13 02:13:26 UTC (rev 2237)
+++ trunk/fs/ocfs2/namei.c	2005-05-13 03:41:55 UTC (rev 2238)
@@ -129,7 +129,8 @@
 				inode, blkno, parent_fe_bh, insert_bh);
 }
 
-#define OCFS2_ORPHAN_NAMELEN (2 * sizeof(u64))
+/* An orphan dir name is an 8 byte value, printed as a hex string */
+#define OCFS2_ORPHAN_NAMELEN ((int)(2 * sizeof(u64)))
 
 /*
  * ocfs_lookup()



More information about the Ocfs2-commits mailing list