mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-27 06:50:37 +00:00

Allow fuse to use the iomap writeback code even when CONFIG_BLOCK is not enabled. Do this with an ifdef instead of a separate file to keep the iomap_folio_state local to buffered-io.c. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/20250710133343.399917-15-hch@lst.de Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Joanne Koong <joannelkoong@gmail.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
19 lines
374 B
Makefile
19 lines
374 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (c) 2019 Oracle.
|
|
# All Rights Reserved.
|
|
#
|
|
|
|
ccflags-y += -I $(src) # needed for trace events
|
|
|
|
obj-$(CONFIG_FS_IOMAP) += iomap.o
|
|
|
|
iomap-y += trace.o \
|
|
iter.o \
|
|
buffered-io.o
|
|
iomap-$(CONFIG_BLOCK) += direct-io.o \
|
|
ioend.o \
|
|
fiemap.o \
|
|
seek.o
|
|
iomap-$(CONFIG_SWAP) += swapfile.o
|