]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: move generic_remap_checks out of mm
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 14 Oct 2020 23:47:08 +0000 (16:47 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 14 Oct 2020 23:47:08 +0000 (16:47 -0700)
commit2b84f74676656ab5e6628d6d8e1199f7fdabe174
tree14f28eb39d62b05a369e01715ca771949e30d91e
parenta9bb09d87487fe2ee5c4394a0baeb5ae1c443105
vfs: move generic_remap_checks out of mm

I would like to move all the generic helpers for the vfs remap range
functionality (aka clonerange and dedupe) into a separate file so that
they won't be scattered across the vfs and the mm subsystems.  The
eventual goal is to be able to deselect remap_range.c if none of the
filesystems need that code, but the tricky part here is picking a
stable(ish) part of the merge window to rearrange code.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/Makefile
fs/remap_range.c [new file with mode: 0644]
include/linux/fs.h
mm/filemap.c