]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/namespace.c
vm audit: add VM_DONTEXPAND to mmap for drivers that need it
[linux-2.6-omap-h63xx.git] / fs / nfs / namespace.c
index acfc56f9edc04c53b25efaffeb80eb0ba9d887c5..be4ce1c3a3d8d30e19f9a1e5921253d6e6542589 100644 (file)
@@ -188,7 +188,7 @@ static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server,
 {
 #ifdef CONFIG_NFS_V4
        struct vfsmount *mnt = NULL;
-       switch (server->nfs_client->cl_nfsversion) {
+       switch (server->nfs_client->rpc_ops->version) {
                case 2:
                case 3:
                        mnt = vfs_kern_mount(&nfs_xdev_fs_type, 0, devname, mountdata);