iomap: move the swapfile code into a separate file
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 15 Jul 2019 15:50:57 +0000 (08:50 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 17 Jul 2019 14:14:10 +0000 (07:14 -0700)
commita45c0eccc564649541305c71539350c7a890226e
tree058be82a29cf3217273f622cbc33dbe51269621f
parent1c230208f53de479352cdb7fa2f851005df7cdc9
iomap: move the swapfile code into a separate file

Move the swapfile activation code into a separate file so that we can
group related functions in a single file instead of having a single
enormous source file.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/iomap.c
fs/iomap/Makefile
fs/iomap/swapfile.c [new file with mode: 0644]