]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
cifs: update mnt_cifs_flags during reconfigure
authorRonnie Sahlberg <lsahlber@redhat.com>
Mon, 14 Dec 2020 06:40:26 +0000 (16:40 +1000)
committerSteve French <stfrench@microsoft.com>
Mon, 14 Dec 2020 19:37:43 +0000 (13:37 -0600)
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>
fs/cifs/fs_context.c

index 29b1dd2b96815651d3b95ec92e4e2130d43096c1..a309e494577c8c39f59f2bdb0a678b70697efcdb 100644 (file)
@@ -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;
 }