iomap: build the block based code conditionally
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Nov 2021 10:22:02 +0000 (11:22 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 4 Dec 2021 16:58:54 +0000 (08:58 -0800)
commitca72d2210fc5b7a6bc7de1da0f9e1b84f8ee3602
tree06bd4f04cc41f616cae8a67f7697a4605885fc4e
parent2ede892342b3c628991ff1b9060108a7edd92d94
iomap: build the block based code conditionally

Only build the block based iomap code if CONFIG_BLOCK is set.  Currently
that is always the case, but it will change soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20211129102203.2243509-29-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/Kconfig
fs/iomap/Makefile