Paulo Alcantara 29cf28235e 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>
2023-01-09 13:47:02 -06:00
..
2022-12-14 12:20:00 -08:00
2022-12-19 08:04:50 -06:00
2022-10-20 10:13:32 +02:00
2022-12-19 08:03:12 -06:00
2022-12-19 08:03:12 -06:00
2022-12-15 14:53:14 -08:00
2022-01-19 11:21:08 -06:00
2019-01-24 09:37:33 -06:00
2021-04-25 16:28:23 -05:00
2022-10-20 10:13:32 +02:00