]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/nfs/client.c
Merge branch 'drm-ttm-pool' into drm-core-next
[mv-sheeva.git] / fs / nfs / client.c
index 2274f1737336485f30fcfd7fdfab841e9bc39600..a8766c4ef2e09f143b52a69d464b320ad1b5d76d 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/vfs.h>
 #include <linux/inet.h>
 #include <linux/in6.h>
+#include <linux/slab.h>
 #include <net/ipv6.h>
 #include <linux/nfs_xdr.h>
 #include <linux/sunrpc/bc_xprt.h>
@@ -1293,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 */