nfsd: implement the NFSv4.2 CLONE operation
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Dec 2015 11:59:52 +0000 (12:59 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 8 Dec 2015 04:12:00 +0000 (23:12 -0500)
commitffa0160a103917defd5d9c097ae0455a59166e03
treefd4eeefca064c0a072e214fde0262fe8dbbff8a4
parentaa0d6aed45ff48bd41439211f2bda1d54585aba3
nfsd: implement the NFSv4.2 CLONE operation

This is basically a remote version of the btrfs CLONE operation,
so the implementation is fairly trivial.  Made even more trivial
by stealing the XDR code and general framework Anna Schumaker's
COPY prototype.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h
fs/nfsd/xdr4.h
include/linux/nfs4.h