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>
This commit is contained in:
parent
2d39f50c2b
commit
1cb6c3d62c
|
@ -705,6 +705,7 @@ static int smb3_reconfigure(struct fs_context *fc)
|
||||||
|
|
||||||
smb3_cleanup_fs_context_contents(cifs_sb->ctx);
|
smb3_cleanup_fs_context_contents(cifs_sb->ctx);
|
||||||
rc = smb3_fs_context_dup(cifs_sb->ctx, ctx);
|
rc = smb3_fs_context_dup(cifs_sb->ctx, ctx);
|
||||||
|
smb3_update_mnt_flags(cifs_sb);
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue