summaryrefslogtreecommitdiff
path: root/fs/jfs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-25 21:41:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 01:43:57 -0400
commit5c0f360b083fb33d05d1bff4b138b82d715eb419 (patch)
tree3bb7116ffd8613587918501a73fb858c364c6b10 /fs/jfs/namei.c
parent407938e79edcadba1b5a17cf928584d8a191a8d7 (diff)
downloadlwn-5c0f360b083fb33d05d1bff4b138b82d715eb419.tar.gz
lwn-5c0f360b083fb33d05d1bff4b138b82d715eb419.zip
jfs_ci_revalidate() is safe from RCU mode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jfs/namei.c')
-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.
*