Anastasia Belova 2ab2494162 cifs: add check for returning value of SMB2_set_info_init
[ Upstream commit a51e5d293dd1c2e7bf6f7be788466cd9b5d280fb ]

If the returning value of SMB2_set_info_init is an error-value,
exit the function.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 0967e5457954 ("cifs: use a compound for setting an xattr")

Signed-off-by: Anastasia Belova <abelova@astralinux.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-26 09:24:42 +01:00
..
2021-06-20 21:28:17 -05:00
2020-06-01 00:10:18 -05:00
2022-10-29 10:12:56 +02:00
2022-10-29 10:12:56 +02:00
2022-02-23 12:03:14 +01:00
2019-01-24 09:37:33 -06:00
2021-04-25 16:28:23 -05:00