Commit 47f72ee5 authored by Katya Orlova's avatar Katya Orlova Committed by Greg Kroah-Hartman
Browse files

smb: propagate error code of extract_sharename()



[ Upstream commit efc0b0bc ]

In addition to the EINVAL, there may be an ENOMEM.

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

Fixes: 70431bfd ("cifs: Support fscache indexing rewrite")
Signed-off-by: default avatarKatya Orlova <e.orlova@ispras.ru>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 60e3318e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment