Whamcloud - gitweb
64-bit warning fixes. Someone should take a closer look at ext2_obd.c
[fs/lustre-release.git] / lustre / obdfs / namei.c
index 340f4a5..985521e 100644 (file)
@@ -100,7 +100,7 @@ static struct dentry *obdfs_lookup(struct inode * dir, struct dentry *dentry)
                 goto negative;
 
         oa = obdo_fromid(IID(dir), ino, type, 
-                         OBD_MD_FLNOTOBD | OBD_MD_FLBLOCKS);
+                         (__u32)(OBD_MD_FLNOTOBD | OBD_MD_FLBLOCKS));
         if ( IS_ERR(oa) ) {
                 CERROR("obdo_fromid failed\n");
                 EXIT;