summaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2018-11-19 22:31:12 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2018-11-21 19:10:54 +0100
commit494633fac7896afc2bce6f83fe7319946270540b (patch)
tree86c87a32c846defd14da23cface9d4f6a8ee677e /mm/readahead.c
parentiomap: dio data corruption and spurious errors when pipes fill (diff)
downloadlinux-494633fac7896afc2bce6f83fe7319946270540b.tar.xz
linux-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 <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions