Commit a0f85e38 authored by Ronnie Sahlberg's avatar Ronnie Sahlberg Committed by Steve French

cifs: do not disable noperm if multiuser mount option is not provided

Fixes small regression in implementation of new mount API.
Signed-off-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
Reported-by: default avatarHyunchul Lee <hyc.lee@gmail.com>
Tested-by: default avatarHyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent abd4af47
......@@ -1533,8 +1533,8 @@ void smb3_update_mnt_flags(struct cifs_sb_info *cifs_sb)
cifs_sb->mnt_cifs_flags |= (CIFS_MOUNT_MULTIUSER |
CIFS_MOUNT_NO_PERM);
else
cifs_sb->mnt_cifs_flags &= ~(CIFS_MOUNT_MULTIUSER |
CIFS_MOUNT_NO_PERM);
cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_MULTIUSER;
if (ctx->strict_io)
cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_STRICT_IO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment