diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-18 20:03:36 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-20 10:44:07 -0400 |
commit | ec12781f192568f7ea860f440f890389ba393df7 (patch) | |
tree | 5261d0f1e2f5c6e6a903838133f7bc8929c672a3 | |
parent | 1712c20dae7b770b62b2e3272100b3b40af0157c (diff) | |
download | blackbird-op-linux-ec12781f192568f7ea860f440f890389ba393df7.tar.gz blackbird-op-linux-ec12781f192568f7ea860f440f890389ba393df7.zip |
cifs_permission() doesn't need to bail out in RCU mode
nothing potentially blocking except generic_permission(), which
will DTRT
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/cifs/cifsfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index e9def996e383..2f0c58646c10 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -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) { |