jfs_ci_revalidate() is safe from RCU mode
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jun 2011 01:41:09 +0000 (21:41 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:57 +0000 (01:43 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jfs/namei.c

index 7a2e8e5152fd0822927d5a711de78e1c57c5bbbd..1da0dc7992863858cd7c2fbcefd4c756aecf37de 100644 (file)
@@ -1597,8 +1597,6 @@ out:
 
 static int jfs_ci_revalidate(struct dentry *dentry, struct nameidata *nd)
 {
-       if (nd && nd->flags & LOOKUP_RCU)
-               return -ECHILD;
        /*
         * This is not negative dentry. Always valid.
         *