Commit eafdd7e9 authored by Dan Carpenter's avatar Dan Carpenter Committed by Chuck Lever
Browse files

nfsd: delete unnecessary NULL check in __fh_verify()



In commit 4a0de50a44bb ("nfsd: decouple the xprtsec policy check from
check_nfsd_access()") we added a NULL check on "rqstp" to earlier in
the function.  This check is no longer required so delete it.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarScott Mayhew <smayhew@redhat.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent e0963ce5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -403,8 +403,6 @@ __fh_verify(struct svc_rqst *rqstp,
	if (error)
		goto out;

	/* During LOCALIO call to fh_verify will be called with a NULL rqstp */
	if (rqstp)
	svc_xprt_set_valid(rqstp->rq_xprt);

check_permissions: