]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabd2af8ee512f0330448cbc241bf295fdb30db6d
tree532147db78ce2c0d3e495154c08a75c3a01a89c2
parentaa48bcdda4980d264d05efafbcfe07426bbf3cf5
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