Wei Yongjun 4d89c87169 NFSv4: Fix error handling in nfs4_sp4_select_mode()
[ Upstream commit 72bf75cfc00c02aa66ef6133048f37aa5d88825c ]

Error code is set in the error handling cases but never used. Fix it.

Fixes: 937e3133cd0b ("NFSv4.1: Ensure we clear the SP4_MACH_CRED flags in nfs4_sp4_select_mode()")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-15 09:46:52 +02:00
..
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2018-06-12 10:09:03 -07:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2017-11-17 14:18:00 -08:00
2018-01-30 19:03:48 -08:00
2018-06-12 08:48:04 -04:00
2017-09-11 22:20:38 -04:00
2018-05-31 15:02:16 -04:00