Skip to content

Commit

Permalink
cifs_permission() doesn't need to bail out in RCU mode
Browse files Browse the repository at this point in the history
nothing potentially blocking except generic_permission(), which
will DTRT

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jun 20, 2011
1 parent 1712c20 commit ec12781
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,6 @@ static int cifs_permission(struct inode *inode, int mask, unsigned int flags)
{
struct cifs_sb_info *cifs_sb;

if (flags & IPERM_FLAG_RCU)
return -ECHILD;

cifs_sb = CIFS_SB(inode->i_sb);

if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) {
Expand Down

0 comments on commit ec12781

Please sign in to comment.