Anastasia Belova 04e9e5eb45 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:42:16 +01:00
..
2020-10-29 09:57:28 +01:00
2020-12-02 08:49:45 +01:00
2019-09-26 16:37:43 -05:00
2020-11-05 11:43:21 +01:00
2019-09-24 23:31:32 -05:00
2019-09-23 23:28:59 -05:00