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 <lsahlber@redhat.com> Reported-by: Hyunchul Lee <hyc.lee@gmail.com> Tested-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent abd4af4 commit a0f85e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)