Trond Myklebust e3fdc89ca4 nfsd: Fix error return values for nfsd4_clone_file_range()
If the parameter 'count' is non-zero, nfsd4_clone_file_range() will
currently clobber all errors returned by vfs_clone_file_range() and
replace them with EINVAL.

Fixes: 42ec3d4c0218 ("vfs: make remap_file_range functions take and...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.20+
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2019-02-06 15:32:05 -05:00
..
2018-09-25 20:34:54 -04:00
2018-08-09 16:11:21 -04:00
2018-12-27 20:59:50 -05:00
2018-09-25 20:34:54 -04:00
2018-02-08 15:18:32 -08:00
2018-08-09 16:11:21 -04:00
2018-04-03 15:08:15 -04:00
2018-09-25 20:34:54 -04:00
2018-09-25 20:34:54 -04:00