aboutsummaryrefslogtreecommitdiffstats
path: root/rust/compiler_builtins.rs
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2023-01-06 16:34:36 +0000
committerSteve French <[email protected]>2023-01-09 19:47:02 +0000
commitba5d4c1596cada37793d405dd18d695cd3508902 (patch)
tree4f6c82237ec9b9495585581f31718c188ddab981 /rust/compiler_builtins.rs
parentcifs: fix file info setting in cifs_query_path_info() (diff)
downloadkernel-ba5d4c1596cada37793d405dd18d695cd3508902.tar.gz
kernel-ba5d4c1596cada37793d405dd18d695cd3508902.zip
cifs: fix file info setting in cifs_open_file()
In cifs_open_file(), @buf must hold a pointer to a cifs_open_info_data structure which is passed by cifs_nt_open(), so assigning @buf directly to @fi was obviously wrong. Fix this by passing a valid FILE_ALL_INFO structure to SMBLegacyOpen() and CIFS_open(), and then copy the set structure to the corresponding cifs_open_info_data::fi field with move_cifs_info_to_smb2() helper. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216889 Fixes: 76894f3e2f71 ("cifs: improve symlink handling for smb2+") Signed-off-by: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions