summaryrefslogtreecommitdiff
path: root/fs/cifs/fs_context.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2020-12-14 09:40:26 +0300
committerSteve French <stfrench@microsoft.com>2020-12-14 22:37:43 +0300
commit1cb6c3d62ca9cfdb103470e7eb60c332475b186f (patch)
tree60958135c8460cce2a859bcd96819dc3151ac15f /fs/cifs/fs_context.c
parent2d39f50c2b15bfd197451a967e371dea19f9600b (diff)
downloadlinux-1cb6c3d62ca9cfdb103470e7eb60c332475b186f.tar.xz
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/fs_context.c')
-rw-r--r--fs/cifs/fs_context.c1
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;
}