commit | a31713517dac0862a3f0ec9006df9160ce022b0c | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Wed Jun 05 08:04:48 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Sun Jun 09 10:06:19 2019 -0700 |
tree | 020aa1dc2d4ad9c646a15c23f12f765271f459a7 | |
parent | 64bf5ff58dff757253cf2142542672de4b21cd1a [diff] |
vfs: introduce generic_file_rw_checks() Factor out helper with some checks on in/out file that are common to clone_file_range and copy_file_range. Suggested-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>