aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index f5a7f7f9cd59..1d09289c8f0e 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -786,6 +786,7 @@ static int nfs_init_server(struct nfs_server *server,
786 goto error; 786 goto error;
787 787
788 server->port = data->nfs_server.port; 788 server->port = data->nfs_server.port;
789 server->auth_info = data->auth_info;
789 790
790 error = nfs_init_server_rpcclient(server, &timeparms, 791 error = nfs_init_server_rpcclient(server, &timeparms,
791 data->selected_flavor); 792 data->selected_flavor);
@@ -929,6 +930,7 @@ void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *sour
929 target->acdirmax = source->acdirmax; 930 target->acdirmax = source->acdirmax;
930 target->caps = source->caps; 931 target->caps = source->caps;
931 target->options = source->options; 932 target->options = source->options;
933 target->auth_info = source->auth_info;
932} 934}
933EXPORT_SYMBOL_GPL(nfs_server_copy_userdata); 935EXPORT_SYMBOL_GPL(nfs_server_copy_userdata);
934 936