summaryrefslogtreecommitdiffstats
path: root/fs/iomap/Makefile
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-07-15 08:50:57 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-07-17 07:14:10 -0700
commita45c0eccc564649541305c71539350c7a890226e (patch)
tree058be82a29cf3217273f622cbc33dbe51269621f /fs/iomap/Makefile
parent1c230208f53de479352cdb7fa2f851005df7cdc9 (diff)
downloadlinux-a45c0eccc564649541305c71539350c7a890226e.tar.gz
linux-a45c0eccc564649541305c71539350c7a890226e.tar.bz2
linux-a45c0eccc564649541305c71539350c7a890226e.zip
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>
Diffstat (limited to 'fs/iomap/Makefile')
-rw-r--r--fs/iomap/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/iomap/Makefile b/fs/iomap/Makefile
index de5a1f914b2c..f88eca22ae80 100644
--- a/fs/iomap/Makefile
+++ b/fs/iomap/Makefile
@@ -3,3 +3,6 @@
# Copyright (c) 2019 Oracle.
# All Rights Reserved.
#
+obj-$(CONFIG_FS_IOMAP) += iomap.o
+
+iomap-$(CONFIG_SWAP) += swapfile.o