Skip to content

Move NFS filehandle defs into separate include

Chuck Lever linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3NFS: Add linux/nfs_fh.hinclude/linux/nfs.h include/linux/nfs_fh.h+65 -370 replies
2/3lockd: Switch linux/nfs.h to linux/nfs_fh.hfs/lockd/svc.c fs/lockd/trace.h fs/lockd/xdr.h+1 -30 replies
3/3NFSD: Use struct knfsd_fh in struct pnfs_ff_layoutfs/nfsd/flexfilelayout.c fs/nfsd/flexfilelayoutxdr.c fs/nfsd/flexfilelayoutxdr.h+5 -50 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/3] Move NFS filehandle defs into separate include

struct nfs_fh is defined in linux/nfs.h, which also pulls in cred.h, a pair of sunrpc headers, and uapi/linux/nfs.h. A consumer that wants nothing but the file handle definition drags all of those items with it.

Relocate struct nfs_fh and its helpers to a new minimal header:
linux/nfs_fh.h. This series introduces two consumers for this header. More will follow in subsequent series.

Chuck Lever (3):
NFS: Add linux/nfs_fh.h
lockd: Switch linux/nfs.h to linux/nfs_fh.h
NFSD: Use struct knfsd_fh in struct pnfs_ff_layout

 fs/lockd/svc.c              |  1 -
 fs/lockd/trace.h            |  1 -
 fs/lockd/xdr.h              |  2 +-
 fs/nfsd/flexfilelayout.c    |  3 +-
 fs/nfsd/flexfilelayoutxdr.c |  4 +--
 fs/nfsd/flexfilelayoutxdr.h |  3 +-
 include/linux/nfs.h         | 39 ++---------------------
 include/linux/nfs_fh.h      | 63 +++++++++++++++++++++++++++++++++++++
 8 files changed, 71 insertions(+), 45 deletions(-)
 create mode 100644 include/linux/nfs_fh.h
Signature · 1 line
2.54.0