Skip to content

nfsd: minor cleanup and sanity check patches for nfsd

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nfsd: only fill out return pointer on success in nfsd4_lookup_stateidfs/nfsd/nfs4state.c+6 -40 replies
2/4nfsd: fix comments about spinlock handling with delegationsfs/nfsd/nfs4state.c+2 -20 replies
3/4nfsd: make nfsd4_run_cb a bool return functionfs/nfsd/nfs4callback.c fs/nfsd/nfs4state.c fs/nfsd/state.h+15 -63 replies
4/4nfsd: extra checks when freeing delegation stateidsfs/nfsd/nfs4state.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] nfsd: minor cleanup and sanity check patches for nfsd

Chuck,

While hunting for some bugs, I found some warts that the first two patches clean up. I also added some sanity checks when freeing delegations or queueing up a CB_RECALL. Your call on whether you want to accept those. These should apply cleanly to your for-next branch, but the last patch may need to be adjusted when Dai fixes up his patch.

Cheers,

Jeff Layton (4):
nfsd: only fill out return pointer on success in nfsd4_lookup_stateid
nfsd: fix comments about spinlock handling with delegations
nfsd: make nfsd4_run_cb a bool return function
nfsd: extra checks when freeing delegation stateids

 fs/nfsd/nfs4callback.c | 14 ++++++++++++--
 fs/nfsd/nfs4state.c    | 26 +++++++++++++++-----------
 fs/nfsd/state.h        |  2 +-
 3 files changed, 28 insertions(+), 14 deletions(-)
Signature · 1 line
2.37.3