summaryrefslogtreecommitdiff
path: root/fs/cifs/fs_context.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2021-02-11 16:06:16 +1000
committerSteve French <stfrench@microsoft.com>2021-02-11 10:58:08 -0600
commitaf1a3d2ba9543e99d78914d8fb88b61d0531d9a1 (patch)
tree60cccec8ae313f3d88142f0d49b85df25ee54038 /fs/cifs/fs_context.h
parenta0f85e38a3c23a334d9ea111cfa4fcfa4b3f9b64 (diff)
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 'fs/cifs/fs_context.h')
-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 */