diff options
author | Paulo Alcantara <pc@cjr.nz> | 2021-02-25 02:59:22 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-02-25 21:18:22 +0300 |
commit | ff2c54a04097dee0b8899c485360719844d923f8 (patch) | |
tree | f1cfd04c820230763c4e078ece8df931fd221a3a /mm/vmscan.c | |
parent | 8513222b9ef2709ba40cbda07b55d5fbcfdd4bc7 (diff) | |
download | linux-ff2c54a04097dee0b8899c485360719844d923f8.tar.xz |
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 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions