From: Al Viro Date: Sun, 19 Jun 2011 00:03:36 +0000 (-0400) Subject: cifs_permission() doesn't need to bail out in RCU mode X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec12781f192568f7ea860f440f890389ba393df7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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) {