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 726fe5a845b4..75c9cd2aa119 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -765,6 +765,7 @@ static int nfs_init_server(struct nfs_server *server,
765 765
766 /* Initialise the client representation from the mount data */ 766 /* Initialise the client representation from the mount data */
767 server->flags = data->flags; 767 server->flags = data->flags;
768 server->options = data->options;
768 769
769 if (data->rsize) 770 if (data->rsize)
770 server->rsize = nfs_block_size(data->rsize, NULL); 771 server->rsize = nfs_block_size(data->rsize, NULL);
@@ -1153,6 +1154,7 @@ static int nfs4_init_server(struct nfs_server *server,
1153 /* Initialise the client representation from the mount data */ 1154 /* Initialise the client representation from the mount data */
1154 server->flags = data->flags; 1155 server->flags = data->flags;
1155 server->caps |= NFS_CAP_ATOMIC_OPEN; 1156 server->caps |= NFS_CAP_ATOMIC_OPEN;
1157 server->options = data->options;
1156 1158
1157 /* Get a client record */ 1159 /* Get a client record */
1158 error = nfs4_set_client(server, 1160 error = nfs4_set_client(server,