Volker Lendecke 77fcc52d29 cifs: Fix smb2_set_path_size()
commit 211baef0eabf4169ce4f73ebd917749d1a7edd74 upstream.

If cifs_get_writable_path() finds a writable file, smb2_compound_op()
must use that file's FID and not the COMPOUND_FID.

Cc: stable@vger.kernel.org
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-22 13:31:33 +01:00
..
2021-06-20 21:28:17 -05:00
2023-01-12 11:58:41 +01:00
2023-01-12 11:58:41 +01:00
2020-06-01 00:10:18 -05:00
2023-01-12 11:58:56 +01:00
2022-10-29 10:12:56 +02:00
2022-02-23 12:03:14 +01:00
2023-01-12 11:58:41 +01:00
2023-03-22 13:31:33 +01:00
2021-04-25 16:28:23 -05:00