Remove struct nameidata from lower level NFS code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | NFSv4: Clean up nfs4_atomic_openfs/ fs/ fs/ +2 more | +93 | 0 replies | |
| 2/6 | NFSv4: Further minor cleanups for nfs4_atomic_open()fs/ fs/ fs/ | +20 | 1 reply | |
| 3/6 | NFSv4: Clean up nfs4_open_revalidatefs/ fs/ fs/ | +17 | 0 replies | |
| 4/6 | NFSv4: Further cleanups for nfs4_open_revalidate()fs/ fs/ fs/ | +26 | 0 replies | |
| 5/6 | NFS: Clean up nfs4_proc_create()fs/ fs/ fs/ +2 more | +58 | 0 replies | |
| 6/6 | NFS: Add an 'open_context' element to struct nfs_rpc_opsfs/ fs/ fs/ +1 more | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Remove struct nameidata from lower level NFS code
Hi,
The following patches attempt to clean up the atomic open code so that we keep all the functions that depend on the struct nameidata in fs/nfs/dir.c. Instead of passing down the struct nameidata, we have the lower layer NFSv4 code fill in the nfs_open_context, which can then be used by nfs_atomic_lookup to fill in the struct file.
Cheers
Trond
Trond Myklebust (6):
NFSv4: Clean up nfs4_atomic_open
NFSv4: Further minor cleanups for nfs4_atomic_open()
NFSv4: Clean up nfs4_open_revalidate
NFSv4: Further cleanups for nfs4_open_revalidate()
NFS: Clean up nfs4_proc_create()
NFS: Add an 'open_context' element to struct nfs_rpc_ops
fs/nfs/dir.c | 179 ++++++++++++++++++++++++++++++++++++++++++---- fs/nfs/inode.c | 8 +- fs/nfs/nfs3proc.c | 2 +- fs/nfs/nfs4_fs.h | 2 - fs/nfs/nfs4proc.c | 148 ++++++--------------------------------- fs/nfs/proc.c | 2 +- include/linux/nfs_fs.h | 2 + include/linux/nfs_xdr.h | 6 ++- 8 files changed, 198 insertions(+), 151 deletions(-)
Signature · 1 line
1.7.2.3