diff options
author | Gleb Korobeynikov <[email protected]> | 2024-08-08 18:47:48 +0300 |
---|---|---|
committer | Steve French <[email protected]> | 2024-08-08 20:06:22 -0500 |
commit | 36bb22a08a69d9984a8399c07310d18b115eae20 (patch) | |
tree | d8b36a5d635b9902362a2f15a40992227d105efd /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | bdcffe4be7cb90ccd12c49924dad9e2eda11b57a (diff) |
cifs: cifs_inval_name_dfs_link_error: correct the check for fullpath
Replace the always-true check tcon->origin_fullpath with
check of server->leaf_fullpath
See https://bugzilla.kernel.org/show_bug.cgi?id=219083
The check of the new @tcon will always be true during mounting,
since @tcon->origin_fullpath will only be set after the tree is
connected to the latest common resource, as well as checking if
the prefix paths from it are fully accessible.
Fixes: 3ae872de4107 ("smb: client: fix shared DFS root mounts with different prefixes")
Reviewed-by: Paulo Alcantara (Red Hat) <[email protected]>
Signed-off-by: Gleb Korobeynikov <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions