aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2018-03-22 13:37:20 +0800
committerJ. Bruce Fields <bfields@redhat.com>2018-04-03 15:08:08 -0400
commit51d87bc2bfa7ff5381941654738540fb23cc5f6a (patch)
tree974d287acd3f757ac434f4840cff4c8425c36374 /net/sunrpc
parentnfsd: create a separate lease for each delegation (diff)
downloadlinux-dev-51d87bc2bfa7ff5381941654738540fb23cc5f6a.tar.xz
linux-dev-51d87bc2bfa7ff5381941654738540fb23cc5f6a.zip
nfsd: fix boolreturn.cocci warnings
fs/nfsd/nfs4state.c:926:8-9: WARNING: return of 0/1 in function 'nfs4_delegation_exists' with return type bool fs/nfsd/nfs4state.c:2955:9-10: WARNING: return of 0/1 in function 'nfsd4_compound_in_session' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci Fixes: 68b18f52947b ("nfsd: make nfs4_get_existing_delegation less confusing") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> [bfields: also fix -EAGAIN] Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions