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:

committed by
Trond Myklebust

parent
47fd88e6b7
commit
a3f73c27af
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user