Skip to content
Commit a3171351 authored by Amir Goldstein's avatar Amir Goldstein Committed by Darrick J. Wong
Browse files

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: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 64bf5ff5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment