diff options
author | Paul Aurich <paul@darkrain42.org> | 2020-06-26 12:58:09 -0700 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-07-01 19:41:36 -0500 |
commit | 5391b8e1b7b7e5cfa2dd4ffdc4b8c6b64dfd1866 (patch) | |
tree | 5877ba91eb60b80e6b2761b1cb7f76d00bc31de1 /fs/cifs/nterr.c | |
parent | 6b356f6cf941d5054d7fab072cae4a5f8658e3db (diff) | |
download | linux-5391b8e1b7b7e5cfa2dd4ffdc4b8c6b64dfd1866.tar.gz linux-5391b8e1b7b7e5cfa2dd4ffdc4b8c6b64dfd1866.tar.bz2 linux-5391b8e1b7b7e5cfa2dd4ffdc4b8c6b64dfd1866.zip |
SMB3: Honor 'posix' flag for multiuser mounts
The flag from the primary tcon needs to be copied into the volume info
so that cifs_get_tcon will try to enable extensions on the per-user
tcon. At that point, since posix extensions must have already been
enabled on the superblock, don't try to needlessly adjust the mount
flags.
Fixes: ce558b0e17f8 ("smb3: Add posix create context for smb3.11 posix mounts")
Fixes: b326614ea215 ("smb3: allow "posix" mount option to enable new SMB311 protocol extensions")
Signed-off-by: Paul Aurich <paul@darkrain42.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/cifs/nterr.c')
0 files changed, 0 insertions, 0 deletions