diff options
| author | Dave Chinner <[email protected]> | 2018-11-19 21:31:12 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2018-11-21 18:10:54 +0000 |
| commit | 494633fac7896afc2bce6f83fe7319946270540b (patch) | |
| tree | 86c87a32c846defd14da23cface9d4f6a8ee677e /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | iomap: dio data corruption and spurious errors when pipes fill (diff) | |
| download | kernel-494633fac7896afc2bce6f83fe7319946270540b.tar.gz kernel-494633fac7896afc2bce6f83fe7319946270540b.zip | |
vfs: vfs_dedupe_file_range() doesn't return EOPNOTSUPP
It returns EINVAL when the operation is not supported by the
filesystem. Fix it to return EOPNOTSUPP to be consistent with
the man page and clone_file_range().
Clean up the inconsistent error return handling while I'm there.
(I know, lipstick on a pig, but every little bit helps...)
Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
