summaryrefslogtreecommitdiffstats
path: root/fs/jfs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-26 03:41:09 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 07:43:57 +0200
commit5c0f360b083fb33d05d1bff4b138b82d715eb419 (patch)
tree3bb7116ffd8613587918501a73fb858c364c6b10 /fs/jfs/namei.c
parentLOOKUP_CREATE and LOOKUP_RENAME_TARGET can be set only on the last step (diff)
downloadlinux-5c0f360b083fb33d05d1bff4b138b82d715eb419.tar.xz
linux-5c0f360b083fb33d05d1bff4b138b82d715eb419.zip
jfs_ci_revalidate() is safe from RCU mode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--fs/jfs/namei.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index 7a2e8e5152fd..1da0dc799286 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -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.
*