Skip to content

Commit ec12781

Browse files
author
Al Viro
committed
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>
1 parent 1712c20 commit ec12781

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎fs/cifs/cifsfs.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,6 @@ static int cifs_permission(struct inode *inode, int mask, unsigned int flags)
257257
{
258258
struct cifs_sb_info *cifs_sb;
259259

260-
if (flags & IPERM_FLAG_RCU)
261-
return -ECHILD;
262-
263260
cifs_sb = CIFS_SB(inode->i_sb);
264261

265262
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) {

0 commit comments

Comments
 (0)