]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfsd4: simplify process_lookup1
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Jan 2021 22:57:37 +0000 (17:57 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 25 Jan 2021 14:36:29 +0000 (09:36 -0500)
commit33311873adb0d55c287b164117b5b4bb7b1bdc40
treea65003ad17f5fd5e74d0a79f9b123bc6fcf52485
parent4ff923ce1e104c27b55f123ca9dbaa31fdb468ad
nfsd4: simplify process_lookup1

This STALE_CLIENTID check is redundant with the one in
lookup_clientid().

There's a difference in behavior is in case of memory allocation
failure, which I think isn't a big deal.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c