Skip to content
Commit 4d01416a authored by Jeff Layton's avatar Jeff Layton Committed by Chuck Lever
Browse files

nfsd: only fill out return pointer on success in nfsd4_lookup_stateid



In the case of a revoked delegation, we still fill out the pointer even
when returning an error, which is bad form. Only overwrite the pointer
on success.

Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 019805fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment