diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-09-26 12:38:44 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 14:23:44 -0400 |
commit | 4d01416ab41540bb13ec4a39ac4e6c4aa5934bc9 (patch) | |
tree | 29803f7035c97f1c8c8169d96baf8c6a99d774fb /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 019805fea91599b22dfa62ffb29c022f35abeb06 (diff) |
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: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions