NFS: cache parsed auth_info in nfs_server
Cache the auth_info structure in nfs_server and pass these values to submounts. This 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:
parent
a3f73c27af
commit
0f5f49b8b3
4 changed files with 5 additions and 2 deletions
|
@ -962,6 +962,7 @@ static int nfs4_init_server(struct nfs_server *server,
|
|||
/* Initialise the client representation from the mount data */
|
||||
server->flags = data->flags;
|
||||
server->options = data->options;
|
||||
server->auth_info = data->auth_info;
|
||||
|
||||
if (data->auth_info.flavor_len >= 1)
|
||||
data->selected_flavor = data->auth_info.flavors[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue