Skip to content

Remove function macros from nfs4_fs.h

Anna Schumaker linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nfs: Call nfs4_state_protect() from nfs4_proc_commit_setup()fs/nfs/nfs3proc.c fs/nfs/nfs4_fs.h fs/nfs/nfs4proc.c +3 more+12 -90 replies
2/3nfs: Call nfs4_state_protect_write() from nfs4_proc_write_setup()fs/nfs/nfs3proc.c fs/nfs/nfs4_fs.h fs/nfs/nfs4proc.c +3 more+10 -90 replies
3/3nfs: Remove unused v4 macrosfs/nfs/nfs4_fs.h+0 -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] Remove function macros from nfs4_fs.h

While reviewing Tom's flexfile patches I found a few places where nfs4_state_protect() was being called inside the generic client, rather than in the nfsv4 module. These patches move the function calls into the correct layer and then tidy up nfs4_fs.h once everything has been moved.

Thoughts?

Anna

Anna Schumaker (3):
nfs: Call nfs4_state_protect() from nfs4_proc_commit_setup()
nfs: Call nfs4_state_protect_write() from nfs4_proc_write_setup()
nfs: Remove unused v4 macros

 fs/nfs/nfs3proc.c       |  7 +++++--
 fs/nfs/nfs4_fs.h        |  7 -------
 fs/nfs/nfs4proc.c       |  9 +++++++--
 fs/nfs/proc.c           |  6 ++++--
 fs/nfs/write.c          | 10 ++--------
 include/linux/nfs_xdr.h |  6 ++++--
 6 files changed, 22 insertions(+), 23 deletions(-)
Signature · 1 line
2.2.1