aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-10-04 09:58:34 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-21 08:55:24 +0900
commit2a90ba573d41efa82e075ba9ac532bb3ec0519c4 (patch)
tree8c187a939fd193baaa7e83f5c59d411c1d910e90 /scripts/Makefile.thinlto
parentksmbd: use u8 for SMB2 oplock level values (diff)
ksmbd: cache the resolved share path for durable reconnects
A share configured as /a/link/b, with /a/link pointing to /real, is opened relative to share->vfs_path at /real/b. However, ksmbd_validate_name_reconnect() compares the file's d_path() result against the original /a/link/b string and rejects a valid reconnect. Render share->vfs_path with d_path() after the existing kern_path() lookup and cache a copy in real_path along with its length. Use the resolved string for durable reconnect name validation. Keep path and path_sz as the configured spelling for existing consumers, including the volume serial calculation and path lookups. Fixes: c8efcc786146 ("ksmbd: add support for durable handles v1/v2") Reported-by: Dairui Zhang <zhangdairui@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions