]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb/client: use stack-allocated smb2_file_all_info in smb3_query_mf_symlink()
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Thu, 9 Jul 2026 02:57:00 +0000 (10:57 +0800)
committerSteve French <stfrench@microsoft.com>
Thu, 9 Jul 2026 12:55:55 +0000 (07:55 -0500)
commitfc8789bb57e625e5f32ac57ca2e7d3e7b7fda225
treeb4eabfbdd3670e1fd9eae2b11611de94c1f122e4
parenta4f27ad055392fa164f5649e89a3637b033c5fcc
smb/client: use stack-allocated smb2_file_all_info in smb3_query_mf_symlink()

SMB2_open() only fills the fixed fields, so a stack-allocated
smb2_file_all_info is sufficient here.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/link.c