diff options
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 876ba8592706..da2f2f024a4d 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -1358,8 +1358,9 @@ static int nfs4_init_server(struct nfs_server *server, | |||
1358 | 1358 | ||
1359 | /* Initialise the client representation from the mount data */ | 1359 | /* Initialise the client representation from the mount data */ |
1360 | server->flags = data->flags; | 1360 | server->flags = data->flags; |
1361 | server->caps |= NFS_CAP_ATOMIC_OPEN|NFS_CAP_CHANGE_ATTR| | 1361 | server->caps |= NFS_CAP_ATOMIC_OPEN|NFS_CAP_CHANGE_ATTR|NFS_CAP_POSIX_LOCK; |
1362 | NFS_CAP_POSIX_LOCK; | 1362 | if (!(data->flags & NFS_MOUNT_NORDIRPLUS)) |
1363 | server->caps |= NFS_CAP_READDIRPLUS; | ||
1363 | server->options = data->options; | 1364 | server->options = data->options; |
1364 | 1365 | ||
1365 | /* Get a client record */ | 1366 | /* Get a client record */ |