linux/fs/smb
Gleb Korobeynikov 36bb22a08a 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: 3ae872de41 ("smb: client: fix shared DFS root mounts with different prefixes")
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Gleb Korobeynikov <gkorobeynikov@astralinux.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-08-08 20:06:22 -05:00
..
client cifs: cifs_inval_name_dfs_link_error: correct the check for fullpath 2024-08-08 20:06:22 -05:00
common ksmbd: return FILE_DEVICE_DISK instead of super magic 2024-07-03 23:21:41 -05:00
server ksmbd: add durable scavenger timer 2024-07-14 21:45:40 -05:00
Kconfig
Makefile