]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nfsd: delete unnecessary NULL check in __fh_verify()
authorDan Carpenter <dan.carpenter@linaro.org>
Thu, 4 Sep 2025 18:59:30 +0000 (21:59 +0300)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 1 Oct 2025 19:54:01 +0000 (15:54 -0400)
commiteafdd7e949bb412bb6daa1f8c71b61d11c23ca5f
treec7c2745c74df230c594770ea7a4b6a1669f6b215
parente0963ce53b0097a115ad35669b02cf5b87607ebf
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: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsfh.c