summaryrefslogtreecommitdiffstats
path: root/fs/cifs/fs_context.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2021-02-11 07:06:16 +0100
committerSteve French <stfrench@microsoft.com>2021-02-11 17:58:08 +0100
commitaf1a3d2ba9543e99d78914d8fb88b61d0531d9a1 (patch)
tree60cccec8ae313f3d88142f0d49b85df25ee54038 /fs/cifs/fs_context.h
parentcifs: do not disable noperm if multiuser mount option is not provided (diff)
downloadlinux-af1a3d2ba9543e99d78914d8fb88b61d0531d9a1.tar.xz
linux-af1a3d2ba9543e99d78914d8fb88b61d0531d9a1.zip
cifs: In the new mount api we get the full devname as source=
so we no longer need to handle or parse the UNC= and prefixpath= options that mount.cifs are generating. This also fixes a bug in the mount command option where the devname would be truncated into just //server/share because we were looking at the truncated UNC value and not the full path. I.e. in the mount command output the devive //server/share/path would show up as just //server/share Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Shyam Prasad N <nspmangalore@gmail.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
-rw-r--r--fs/cifs/fs_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/fs_context.h b/fs/cifs/fs_context.h
index 3358b33abcd0..1c44a460e2c0 100644
--- a/fs/cifs/fs_context.h
+++ b/fs/cifs/fs_context.h
@@ -159,6 +159,7 @@ struct smb3_fs_context {
char *username;
char *password;
char *domainname;
+ char *source;
char *UNC;
char *nodename;
char *iocharset; /* local code page for mapping to and from Unicode */