]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb/client: pass cifs_open_info_data to SMB2_open()
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Thu, 9 Jul 2026 02:57:01 +0000 (10:57 +0800)
committerSteve French <stfrench@microsoft.com>
Thu, 9 Jul 2026 12:55:55 +0000 (07:55 -0500)
commit1f551e407bb49dce0bbd34ed6a499dad69e18020
tree3f6ada2591634d945e1ce26f1562477011a35179
parentfc8789bb57e625e5f32ac57ca2e7d3e7b7fda225
smb/client: pass cifs_open_info_data to SMB2_open()

Let SMB2_open() fill the smb2_file_all_info embedded in cifs_open_info_data
directly. This removes the temporary smb2_file_all_info copy in
smb2_open_file().

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