diff options
author | Amir Goldstein | 2019-06-05 08:04:48 -0700 |
---|---|---|
committer | Darrick J. Wong | 2019-06-09 10:06:19 -0700 |
commit | a31713517dac0862a3f0ec9006df9160ce022b0c (patch) | |
tree | 020aa1dc2d4ad9c646a15c23f12f765271f459a7 /mm/zswap.c | |
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>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions