vfs: plumb remap flags through the vfs dedupe functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 29 Oct 2018 23:42:03 +0000 (10:42 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Oct 2018 23:42:03 +0000 (10:42 +1100)
commitdf3658361951e17364f1e1c3fa92862a990ad8bd
tree6a8654d7e37881b951eab42f3b28cf90b9a68766
parent452ce65951a2f0719e4e119ecca134c06cfe22ee
vfs: plumb remap flags through the vfs dedupe functions

Plumb a remap_flags argument through the vfs_dedupe_file_range_one
functions so that dedupe can take advantage of it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/overlayfs/file.c
fs/read_write.c
include/linux/fs.h