Whamcloud - gitweb
LU-139 move DCACHE_LUSTRE_INVALID to higher bit to prevent conflict with other dentry...
authorJohann Lombardi <johann@whamcloud.com>
Thu, 17 Mar 2011 21:17:49 +0000 (22:17 +0100)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 Mar 2011 15:12:18 +0000 (08:12 -0700)
2.6.38 comes with a bunch of new dentry flags and one of them
(i.e. DCACHE_OP_REVALIDATE) conflicts with our DCACHE_LUSTRE_INVALID.

Change-Id: I11de689058d12b07b2f00191f2d175d48a90ff8e
Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/339
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_internal.h

index 6967afb..783d8c4 100644 (file)
@@ -53,7 +53,7 @@
 #endif
 
 #ifndef DCACHE_LUSTRE_INVALID
 #endif
 
 #ifndef DCACHE_LUSTRE_INVALID
-#define DCACHE_LUSTRE_INVALID 0x4000
+#define DCACHE_LUSTRE_INVALID 0x4000000
 #endif
 
 #define LL_IT2STR(it) ((it) ? ldlm_it2str((it)->it_op) : "0")
 #endif
 
 #define LL_IT2STR(it) ((it) ? ldlm_it2str((it)->it_op) : "0")