Whamcloud - gitweb
LU-781 kernel: kernel update [RHEL6.2 2.6.32-220]
[fs/lustre-release.git] / lustre / kernel_patches / patches / vfs_races-2.6.32-rhel6.patch
index 5cd4f1b..819c57b 100644 (file)
@@ -21,10 +21,10 @@ Index: linux-2.6.32-71.18.1.el6/include/linux/dcache.h
 --- linux-2.6.32-71.18.1.el6.orig/include/linux/dcache.h
 +++ linux-2.6.32-71.18.1.el6/include/linux/dcache.h
 @@ -185,6 +185,7 @@ d_iput:            no              no              no       yes
- #define DCACHE_COOKIE         0x0040  /* For use by dcookie subsystem */
- #define DCACHE_FSNOTIFY_PARENT_WATCHED        0x0080 /* Parent inode is watched by some fsnotify listener */
-+#define DCACHE_LUSTRE_INVALID 0x0100  /* Lustre invalidated */
+ #define DCACHE_MANAGE_TRANSIT 0x40000 /* manage transit from this dirent */
+ #define DCACHE_MANAGED_DENTRY \
+       (DCACHE_MOUNTED|DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT)
++#define DCACHE_LUSTRE_INVALID 0x4000000  /* Lustre invalidated */
  
  extern spinlock_t dcache_lock;
  extern seqlock_t rename_lock;