summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2013-10-18 19:15:16 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-10-28 19:36:58 (GMT)
commita3f73c27afff9590a4432879b7145289cb89cf0a (patch)
tree6d010e25f69bbcee77e22285b280a5f446add578 /include/linux
parent47fd88e6b79c55e6acccaf832078ed1a340672fa (diff)
downloadlinux-fsl-qoriq-a3f73c27afff9590a4432879b7145289cb89cf0a.tar.xz
NFS: separate passed security flavs from selected
When filling parsed_mount_data, store the parsed sec= mount option in the new struct nfs_auth_info and the chosen flavor in selected_flavor. This patch lays the groundwork for supporting multiple sec= options. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfs_xdr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 8fe5b94..658104a 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -591,6 +591,12 @@ struct nfs_renameres {
struct nfs_fattr *new_fattr;
};
+/* parsed sec= options */
+struct nfs_auth_info {
+ unsigned int flavor_len;
+ rpc_authflavor_t flavors[1];
+};
+
/*
* Argument struct for decode_entry function
*/