[PATCH 0/5] NFS: Add support for multiple sec= mount options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
1.7.12.4 (Apple Git-37)

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux