Skip to content

Commit a0f85e3

Browse files
Ronnie Sahlbergsmfrench
authored andcommitted
cifs: do not disable noperm if multiuser mount option is not provided
Fixes small regression in implementation of new mount API. Signed-off-by: Ronnie Sahlberg <[email protected]> Reported-by: Hyunchul Lee <[email protected]> Tested-by: Hyunchul Lee <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent abd4af4 commit a0f85e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/cifs/fs_context.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,8 +1533,8 @@ void smb3_update_mnt_flags(struct cifs_sb_info *cifs_sb)
15331533
cifs_sb->mnt_cifs_flags |= (CIFS_MOUNT_MULTIUSER |
15341534
CIFS_MOUNT_NO_PERM);
15351535
else
1536-
cifs_sb->mnt_cifs_flags &= ~(CIFS_MOUNT_MULTIUSER |
1537-
CIFS_MOUNT_NO_PERM);
1536+
cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_MULTIUSER;
1537+
15381538

15391539
if (ctx->strict_io)
15401540
cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_STRICT_IO;

0 commit comments

Comments
 (0)