]> git.baikalelectronics.ru Git - kernel.git/commit
fs: return -EOPNOTSUPP if clone is not supported
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Feb 2016 17:53:12 +0000 (18:53 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 28 Feb 2016 00:15:51 +0000 (19:15 -0500)
commit7d30681461f06597b51e7ba3e6a4623389c18036
tree4c338e97a056ce9eb6b6e55c126eca47640ba624
parent0960d4b2c99e9781f66b78d64f847c4c14fec3d0
fs: return -EOPNOTSUPP if clone is not supported

-EBADF is a rather confusing error if an operations is not supported,
and nfsd gets rather upset about it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/read_write.c