]> 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)
commitc426b7d5be9923d595fa19e5034c430fe89bd69a
tree4c338e97a056ce9eb6b6e55c126eca47640ba624
parent1100164ef6ea0c9f3857ef94d5da2603db0cc132
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