Whamcloud - gitweb
b=20562 increase LUSTRE_SEQ_META_WIDTH to keep FLD compact
authorRahul Deshmukh <Rahul.Deshmukh@sun.com>
Tue, 11 May 2010 06:25:30 +0000 (11:55 +0530)
committerRobert Read <robert.read@oracle.com>
Tue, 11 May 2010 22:23:29 +0000 (15:23 -0700)
Fixed the build error for fc11 and fc12 patchless client.

i=rread

lustre/include/lustre_fid.h
lustre/liblustre/dir.c

index 414d562..6f60da5 100644 (file)
@@ -83,7 +83,7 @@ enum {
          * This is how many sequences may be in one super-sequence allocated to
          * MDTs.
          */
-        LUSTRE_SEQ_SUPER_WIDTH = ((1<< 30) * LUSTRE_SEQ_META_WIDTH)
+        LUSTRE_SEQ_SUPER_WIDTH = ((1ULL << 30ULL) * LUSTRE_SEQ_META_WIDTH)
 };
 
 /** special fid seq: used for local object create. */
index ce812de..3db0c39 100644 (file)
@@ -67,9 +67,9 @@
 #include <unistd.h>
 #endif
 
-#include <dirent.h>
 
 #include "llite_lib.h"
+#include <dirent.h>
 
 /* (new) readdir implementation overview can be found in lustre/llite/dir.c */