Move NFS filehandle defs into separate include
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | NFS: Add linux/nfs_fh.hinclude/ include/ | +65 | 0 replies | |
| 2/3 | lockd: Switch linux/nfs.h to linux/nfs_fh.hfs/ fs/ fs/ | +1 | 0 replies | |
| 3/3 | NFSD: Use struct knfsd_fh in struct pnfs_ff_layoutfs/ fs/ fs/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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