vfs: move the remap range helpers to remap_range.c
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 14 Oct 2020 23:38:47 +0000 (16:38 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 15 Oct 2020 16:48:49 +0000 (09:48 -0700)
commit1b2c54d63cde7e8cf15aa6319aba168d81c7e364
treec545ef58b47236ef246cfa9ce4ad04072cd424bf
parent02e83f46ebfaf9405881e290794c913d457541f0
vfs: move the remap range helpers to remap_range.c

Complete the migration by moving the file remapping helper functions out
of read_write.c and into remap_range.c.  This reduces the clutter in the
first file and (eventually) will make it so that we can compile out the
second file if it isn't needed.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/read_write.c
fs/remap_range.c
include/linux/fs.h