summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-11-13 08:38:48 (GMT)
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-11-24 02:53:08 (GMT)
commit0f42a6a9b807b092841f7e1b381f8c7e80a0d86a (patch)
tree532147db78ce2c0d3e495154c08a75c3a01a89c2 /include/uapi
parent21fad313d5890b674432fe3ad0c7bcf040320340 (diff)
downloadlinux-0f42a6a9b807b092841f7e1b381f8c7e80a0d86a.tar.xz
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/uapi')
-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 654bae3..5e62961 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