Skip to content

Commit

Permalink
jfs_ci_revalidate() is safe from RCU mode
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jul 20, 2011
1 parent 407938e commit 5c0f360
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/jfs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1597,8 +1597,6 @@ static int jfs_ci_compare(const struct dentry *parent,

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.
*
Expand Down

0 comments on commit 5c0f360

Please sign in to comment.