NFSv4: fix delegated locking
[deliverable/linux.git] / fs / nfs / client.c
index 2a3d352c0bffdba569e76cc50318a3d619ef3877..a8766c4ef2e09f143b52a69d464b320ad1b5d76d 100644 (file)
@@ -1294,7 +1294,8 @@ static int nfs4_init_server(struct nfs_server *server,
 
        /* Initialise the client representation from the mount data */
        server->flags = data->flags;
-       server->caps |= NFS_CAP_ATOMIC_OPEN|NFS_CAP_CHANGE_ATTR;
+       server->caps |= NFS_CAP_ATOMIC_OPEN|NFS_CAP_CHANGE_ATTR|
+               NFS_CAP_POSIX_LOCK;
        server->options = data->options;
 
        /* Get a client record */
This page took 0.02532 seconds and 5 git commands to generate.