aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-11-13 09:38:48 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-11-23 21:53:08 -0500
commit0f42a6a9b807b092841f7e1b381f8c7e80a0d86a (patch)
tree532147db78ce2c0d3e495154c08a75c3a01a89c2 /include
parentnfs: allow intra-file CLONE (diff)
downloadlinux-dev-0f42a6a9b807b092841f7e1b381f8c7e80a0d86a.tar.xz
linux-dev-0f42a6a9b807b092841f7e1b381f8c7e80a0d86a.zip
nfs: use btrfs ioctl defintions for clone
The NFS CLONE_RANGE defintion was wrong and thus never worked. Fix this by simply using the btrfs ioctl defintion. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nfs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/uapi/linux/nfs.h b/include/uapi/linux/nfs.h
index 654bae3f1a38..5e6296160361 100644
--- a/include/uapi/linux/nfs.h
+++ b/include/uapi/linux/nfs.h
@@ -33,17 +33,6 @@
#define NFS_PIPE_DIRNAME "nfs"
-/* NFS ioctls */
-/* Let's follow btrfs lead on CLONE to avoid messing userspace */
-#define NFS_IOC_CLONE _IOW(0x94, 9, int)
-#define NFS_IOC_CLONE_RANGE _IOW(0x94, 13, int)
-
-struct nfs_ioctl_clone_range_args {
- __s64 src_fd;
- __u64 src_off, count;
- __u64 dst_off;
-};
-
/*
* NFS stats. The good thing with these values is that NFSv3 errors are
* a superset of NFSv2 errors (with the exception of NFSERR_WFLUSH which