diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-12-14 09:40:19 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 18:26:30 +0300 |
commit | 9ccecae8d1d7131439fb4849f51e614ef7395298 (patch) | |
tree | b79b02996c21bd46ba1faa2365941a35105d9f61 /fs/cifs/cifsfs.c | |
parent | d6a78783407cdf9f8dcf677f7e5a26b1aa22bc0e (diff) | |
download | linux-9ccecae8d1d7131439fb4849f51e614ef7395298.tar.xz |
cifs: we do not allow changing username/password/unc/... during remount
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 6a3cb192d75a..276b0659c238 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -493,7 +493,7 @@ cifs_show_options(struct seq_file *s, struct dentry *root) if (tcon->no_lease) seq_puts(s, ",nolease"); - if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER) + if (cifs_sb->ctx->multiuser) seq_puts(s, ",multiuser"); else if (tcon->ses->user_name) seq_show_option(s, "username", tcon->ses->user_name); |