diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-25 21:41:09 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 01:43:57 -0400 |
commit | 5c0f360b083fb33d05d1bff4b138b82d715eb419 (patch) | |
tree | 3bb7116ffd8613587918501a73fb858c364c6b10 /fs/jfs | |
parent | 407938e79edcadba1b5a17cf928584d8a191a8d7 (diff) |
jfs_ci_revalidate() is safe from RCU mode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jfs')
-rw-r--r-- | fs/jfs/namei.c | 2 |
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: | |||
1597 | 1597 | ||
1598 | static int jfs_ci_revalidate(struct dentry *dentry, struct nameidata *nd) | 1598 | static int jfs_ci_revalidate(struct dentry *dentry, struct nameidata *nd) |
1599 | { | 1599 | { |
1600 | if (nd && nd->flags & LOOKUP_RCU) | ||
1601 | return -ECHILD; | ||
1602 | /* | 1600 | /* |
1603 | * This is not negative dentry. Always valid. | 1601 | * This is not negative dentry. Always valid. |
1604 | * | 1602 | * |