diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2021-02-11 07:06:16 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-02-11 17:58:08 +0100 |
commit | af1a3d2ba9543e99d78914d8fb88b61d0531d9a1 (patch) | |
tree | 60cccec8ae313f3d88142f0d49b85df25ee54038 /fs/cifs/fs_context.h | |
parent | cifs: do not disable noperm if multiuser mount option is not provided (diff) | |
download | linux-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.h | 1 |
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 */ |