Anastasia Belova 5fc19c8313 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-25 17:45:48 +01:00
..
2020-10-22 12:17:52 -05:00
2020-06-01 00:10:18 -05:00
2020-11-15 23:05:33 -06:00
2020-06-01 00:10:18 -05:00
2021-01-19 18:27:19 +01:00
2022-10-30 09:41:16 +01:00
2021-09-08 08:49:01 +02:00
2020-10-22 12:16:24 -05:00
2022-06-14 18:32:45 +02:00
2020-08-02 18:00:25 -05:00
2020-06-01 00:10:18 -05:00