diff options
author | Paulo Alcantara | 2021-02-24 20:59:22 -0300 |
---|---|---|
committer | Steve French | 2021-02-25 12:18:22 -0600 |
commit | ff2c54a04097dee0b8899c485360719844d923f8 (patch) | |
tree | f1cfd04c820230763c4e078ece8df931fd221a3a /fs/cifs/smbdirect.h | |
parent | 8513222b9ef2709ba40cbda07b55d5fbcfdd4bc7 (diff) |
cifs: check all path components in resolved dfs target
Handle the case where a resolved target share is like
//server/users/dir, and the user "foo" has no read permission to
access the parent folder "users" but has access to the final path
component "dir".
is_path_remote() already implements that, so call it directly.
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org # 5.11
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smbdirect.h')
0 files changed, 0 insertions, 0 deletions