NFS: Add support for multiple sec= mount options
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | NFSv4: make nfs_find_best_sec staticfs/ fs/ | +1 | 0 replies | |
| 2/5 | NFS: separate passed security flavs from selectedfs/ fs/ fs/ +2 more | +41 | 0 replies | |
| 3/5 | NFS: cache parsed auth_info in nfs_serverfs/ fs/ fs/ +1 more | +5 | 0 replies | |
| 4/5 | NFS: stop using NFS_MOUNT_SECFLAVOUR server flagfs/ fs/ fs/ +2 more | +9 | 0 replies | |
| 5/5 | NFS: add support for multiple sec= mount optionsfs/ fs/ fs/ +3 more | +145 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] NFS: Add support for multiple sec= mount options
I split up this patchset into multiple patches as Trond requested.
This also has a few changes:
- stop using NFS_MOUNT_SECFLAVOUR server flag
- This flag was now redundant (auth_info stored on nfs_server).
- more consistent use of selected_flavor
- It didn't need to be set in nfs_parse_security_flavors
- NFSv4 wasn't setting is as it just picked the first flavor in nfs4_init_server then depends on SECINFO. nfs4_init_server now sets it for consistency. The reason we need selected_flavor is for the mount client to be able to save it's selection (for nfs < 4.0).
Again, I created a script to test mount options which has been posted to the list as a patch to nfs-ordeal.
-dros
Weston Andros Adamson (5):
NFSv4: make nfs_find_best_sec static
NFS: separate passed security flavs from selected
NFS: cache parsed auth_info in nfs_server
NFS: stop using NFS_MOUNT_SECFLAVOUR server flag
NFS: add support for multiple sec= mount options
fs/nfs/client.c | 5 +- fs/nfs/internal.h | 5 +- fs/nfs/nfs4_fs.h | 1 - fs/nfs/nfs4client.c | 26 ++++-- fs/nfs/nfs4namespace.c | 17 +++- fs/nfs/nfs4proc.c | 32 ++++--- fs/nfs/super.c | 189 +++++++++++++++++++++++++---------------- include/linux/nfs_fs_sb.h | 1 + include/linux/nfs_xdr.h | 7 ++ include/uapi/linux/nfs_mount.h | 2 +- 10 files changed, 184 insertions(+), 101 deletions(-)
Signature · 1 line
1.7.12.4 (Apple Git-37)