diff options
author | Paulo Alcantara <pc@cjr.nz> | 2023-01-07 02:28:30 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-01-09 22:47:02 +0300 |
commit | 29cf28235e3e57e0af01ae29db57a75f87a2ada8 (patch) | |
tree | ab6be977d546b93a402ff22cbc7e12c0f4116deb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b7bfaa761d760e72a969d116517eaa12e404c262 (diff) | |
download | linux-29cf28235e3e57e0af01ae29db57a75f87a2ada8.tar.xz |
cifs: fix file info setting in cifs_query_path_info()
We missed to set file info when CIFSSMBQPathInfo() returned 0, thus
leaving cifs_open_info_data::fi unset.
Fix this by setting cifs_open_info_data::fi when either
CIFSSMBQPathInfo() or SMBQueryInformation() succeed.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216881
Fixes: 76894f3e2f71 ("cifs: improve symlink handling for smb2+")
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions