Whamcloud - gitweb
b=16437
[fs/lustre-release.git] / lustre / kernel_patches / patches / vfs_races-2.6.12.patch
index 011d87d..8666125 100644 (file)
@@ -59,3 +59,11 @@ Index: linux-2.6.7-vanilla/include/linux/dcache.h
  
  extern spinlock_t dcache_lock;
  
+@@ -254,6 +255,7 @@ extern int have_submounts(struct dentry 
+  * This adds the entry to the hash queues.
+  */
+ extern void d_rehash(struct dentry *);
++extern void d_rehash_cond(struct dentry *, int lock);
+ /**
+  * d_add - add dentry to hash queues