]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix error handling in nfs4_sp4_select_mode()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 2 Aug 2018 05:42:04 +0000 (05:42 +0000)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 8 Aug 2018 20:50:31 +0000 (16:50 -0400)
commited62d2269ac964d41bff00130edd7943bd9187b9
treeff660ced6756b9ebca5b61d5ff7d795b1ac39e0c
parentd6a084f1e0361f86a12aeecaeaea52ec2e6d05a3
NFSv4: Fix error handling in nfs4_sp4_select_mode()

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

Fixes: f2dcca83a8fd ("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>
fs/nfs/nfs4proc.c