]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix mounts to subdirectories of target
authorSteve French <stfrench@microsoft.com>
Thu, 28 Jan 2021 17:20:22 +0000 (11:20 -0600)
committerSteve French <stfrench@microsoft.com>
Thu, 28 Jan 2021 17:20:22 +0000 (11:20 -0600)
commit6419065c1847e65d8eb5591f1a080bbf70f89eb5
treed5bac297d71a73e2b22f123885bcfaf417a7127a
parent1193bb95ccf0933ad677e47409a7a152cc0c8c9f
cifs: fix mounts to subdirectories of target

The "prefixpath" mount option needs to be ignored
which was missed in the recent conversion to the
new mount API (prefixpath would be set by the mount
helper if mounting a subdirectory of the root of a
share e.g. //server/share/subdir)

Fixes: 84e70c69068d ("cifs: switch to new mount api")
Suggested-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/fs_context.c