Skip to content

miscellaneous nfsd4 state cleanup

J. Bruce Fields linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8nfsd4: simplify process_lookup1fs/nfsd/nfs4state.c+0 -20 replies
2/8nfsd: simplify process_lockfs/nfsd/nfs4state.c+0 -42 replies
3/8nfsd: simplify nfsd_renewfs/nfsd/nfs4state.c+3 -60 replies
4/8nfsd: refactor lookup_clientidfs/nfsd/nfs4state.c+24 -2624 replies
5/8nfsd: find_cpntf_state cleanupfs/nfsd/nfs4state.c+14 -80 replies
6/8nfsd: remove unused set_clientid argumentfs/nfsd/nfs4state.c+10 -140 replies
7/8nfsd: simplify nfsd4_check_open_reclaimfs/nfsd/nfs4proc.c fs/nfsd/nfs4state.c fs/nfsd/state.h+5 -190 replies
8/8nfsd: cstate->session->se_client -> cstate->clpfs/nfsd/nfs4proc.c fs/nfsd/nfs4state.c+10 -110 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/8] miscellaneous nfsd4 state cleanup

From: "J. Bruce Fields" <[email protected]>

This is some miscellaneous cleanup of NFSv4 state code that I ran into while working on another project.

I think it's all pretty routine. The only behavior difference should be changing the error returned in some situations where there are multiple reasons an operation could fail; none look like a problem to me.

--b.

J. Bruce Fields (8):
nfsd4: simplify process_lookup1
nfsd: simplify process_lock
nfsd: simplify nfsd_renew
nfsd: refactor lookup_clientid
nfsd: find_cpntf_state cleanup
nfsd: remove unused set_clientid argument
nfsd: simplify nfsd4_check_open_reclaim
nfsd: cstate->session->se_client -> cstate->clp

 fs/nfsd/nfs4proc.c  |   8 ++-
 fs/nfsd/nfs4state.c | 125 ++++++++++++++++++--------------------------
 fs/nfsd/state.h     |   3 +-
 3 files changed, 56 insertions(+), 80 deletions(-)
Signature · 1 line
2.29.2