OSDN Git Service

nfs: use btrfs ioctl defintions for clone
authorChristoph Hellwig <hch@lst.de>
Fri, 13 Nov 2015 08:38:48 +0000 (09:38 +0100)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 24 Nov 2015 02:53:08 +0000 (21:53 -0500)
commit0f42a6a9b807b092841f7e1b381f8c7e80a0d86a
tree532147db78ce2c0d3e495154c08a75c3a01a89c2
parent21fad313d5890b674432fe3ad0c7bcf040320340
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>
fs/nfs/nfs4file.c
include/uapi/linux/nfs.h