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>
This commit is contained in:
Weston Andros Adamson
2013-10-18 15:15:16 -04:00
committed by Trond Myklebust
parent 47fd88e6b7
commit a3f73c27af
5 changed files with 41 additions and 35 deletions

View File

@@ -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
*/