]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: In the new mount api we get the full devname as source=
authorRonnie Sahlberg <lsahlber@redhat.com>
Thu, 11 Feb 2021 06:06:16 +0000 (16:06 +1000)
committerSteve French <stfrench@microsoft.com>
Thu, 11 Feb 2021 16:58:08 +0000 (10:58 -0600)
commit8544c917e42d69be3298673140bd27be2cd54299
tree60cccec8ae313f3d88142f0d49b85df25ee54038
parent0df344f532c7320d8757b4d2d1679d9f1032e48b
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>
fs/cifs/cifsfs.c
fs/cifs/fs_context.c
fs/cifs/fs_context.h