fs: rcu-walk aware d_revalidate method
[deliverable/linux.git] / fs / cifs / dir.c
index e3b10ca6d4537bcdd54ea88e58e68572442e833a..db2a58c00f7b237f8e8cd02147ecf97cbf8cbca5 100644 (file)
@@ -656,6 +656,9 @@ lookup_out:
 static int
 cifs_d_revalidate(struct dentry *direntry, struct nameidata *nd)
 {
+       if (nd->flags & LOOKUP_RCU)
+               return -ECHILD;
+
        if (direntry->d_inode) {
                if (cifs_revalidate_dentry(direntry))
                        return 0;
This page took 0.026697 seconds and 5 git commands to generate.