diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-12-14 16:40:26 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 13:37:43 -0600 |
commit | 1cb6c3d62ca9cfdb103470e7eb60c332475b186f (patch) | |
tree | 60958135c8460cce2a859bcd96819dc3151ac15f /fs/cifs | |
parent | 2d39f50c2b15bfd197451a967e371dea19f9600b (diff) |
cifs: update mnt_cifs_flags during reconfigure
Many mount flags (e.g. for noperm, noxattr, nobrl,
cifsacl, mfsymlinks and more) can be updated now.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/fs_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/fs_context.c b/fs/cifs/fs_context.c index 29b1dd2b9681..a309e494577c 100644 --- a/fs/cifs/fs_context.c +++ b/fs/cifs/fs_context.c @@ -705,6 +705,7 @@ static int smb3_reconfigure(struct fs_context *fc) smb3_cleanup_fs_context_contents(cifs_sb->ctx); rc = smb3_fs_context_dup(cifs_sb->ctx, ctx); + smb3_update_mnt_flags(cifs_sb); return rc; } |