]> git.ipfire.org Git - thirdparty/linux.git/commit - include/linux/fs.h
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)
commit02e83f46ebfaf9405881e290794c913d457541f0
tree14f28eb39d62b05a369e01715ca771949e30d91e
parentbbf5c979011a099af5dc76498918ed7df445635b
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