Skip to content

NFSv4-related tidying

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6NFSD: Move XDR encoding helpers out of xdr4.hfs/nfsd/blocklayoutxdr.c fs/nfsd/nfs4xdr.c fs/nfsd/xdr4.h+102 -1390 replies
2/6NFSD: Move pre-xdr'ed status codes out of nfsd.hfs/nfsd/blocklayout.c fs/nfsd/blocklayoutxdr.c fs/nfsd/export.c +24 more+33 -3840 replies
3/6NFSD: Remove two unused NFSv4 constantsfs/nfsd/nfsd.h+0 -70 replies
4/6NFSD: Relocate NFSv4-internal constants to state.hfs/nfsd/nfsd.h fs/nfsd/state.h+19 -180 replies
5/6NFSD: Evacuate NFSv4 entry-point prototypes from nfsd.hfs/nfsd/export.c fs/nfsd/nfs4ctl.h fs/nfsd/nfs4proc.c +6 more+90 -630 replies
6/6NFSD: Move nfsd_v4client() out of nfsd.hfs/nfsd/nfsd.h fs/nfsd/nfssvc.c+6 -40 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeff Layton
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] NFSv4-related tidying

Now that Neil's vfs_create() rework has been applied to nfsd-testing, I feel more comfortable sending along more of these clean-up patches. The goal is to reduce dependencies on single large individual headers that pull in items that are irrelevant in many cases.

Chuck Lever (6):
NFSD: Move XDR encoding helpers out of xdr4.h
NFSD: Move pre-xdr'ed status codes out of nfsd.h
NFSD: Remove two unused NFSv4 constants
NFSD: Relocate NFSv4-internal constants to state.h
NFSD: Evacuate NFSv4 entry-point prototypes from nfsd.h
NFSD: Move nfsd_v4client() out of nfsd.h

 fs/nfsd/blocklayout.c        |   1 +
 fs/nfsd/blocklayoutxdr.c     |  11 ++
 fs/nfsd/export.c             |   2 +
 fs/nfsd/filecache.c          |   1 +
 fs/nfsd/flexfilelayout.c     |   1 +
 fs/nfsd/flexfilelayoutxdr.c  |   1 +
 fs/nfsd/lockd.c              |   1 +
 fs/nfsd/nfs2acl.c            |   1 +
 fs/nfsd/nfs3acl.c            |   1 +
 fs/nfsd/nfs3proc.c           |   1 +
 fs/nfsd/nfs3xdr.c            |   1 +
 fs/nfsd/nfs4acl.c            |   1 +
 fs/nfsd/nfs4callback.c       |   1 +
 fs/nfsd/nfs4ctl.h            |  83 ++++++++++++
 fs/nfsd/nfs4idmap.c          |   1 +
 fs/nfsd/nfs4layouts.c        |   1 +
 fs/nfsd/nfs4proc.c           |   2 +
 fs/nfsd/nfs4recover.c        |   1 +
 fs/nfsd/nfs4state.c          |   2 +
 fs/nfsd/nfs4xdr.c            |  93 +++++++++++++
 fs/nfsd/nfscache.c           |   1 +
 fs/nfsd/nfsctl.c             |   2 +
 fs/nfsd/nfsd.h               | 236 +--------------------------------
 fs/nfsd/{nfsd.h => nfserr.h} | 248 +----------------------------------
 fs/nfsd/nfsfh.c              |   1 +
 fs/nfsd/nfsproc.c            |   1 +
 fs/nfsd/nfssvc.c             |   8 ++
 fs/nfsd/nfsxdr.c             |   1 +
 fs/nfsd/state.h              |  19 +++
 fs/nfsd/vfs.c                |   2 +
 fs/nfsd/xdr4.h               | 139 --------------------
 31 files changed, 250 insertions(+), 615 deletions(-)
 create mode 100644 fs/nfsd/nfs4ctl.h
 copy fs/nfsd/{nfsd.h => nfserr.h} (50%)
Signature · 1 line
2.54.0