Skip to content

Commit b842f1d

Browse files
Christoph Hellwigdjbw
authored andcommitted
fsdax: don't require CONFIG_BLOCK
The file system DAX code now does not require the block code. So allow building a kernel with fuse DAX but not block layer. 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-30-hch@lst.de Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent ca72d22 commit b842f1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ source "fs/nilfs2/Kconfig"
4242
source "fs/f2fs/Kconfig"
4343
source "fs/zonefs/Kconfig"
4444

45+
endif # BLOCK
46+
4547
config FS_DAX
4648
bool "File system based Direct Access (DAX) support"
4749
depends on MMU
@@ -89,8 +91,6 @@ config FS_DAX_PMD
8991
config FS_DAX_LIMITED
9092
bool
9193

92-
endif # BLOCK
93-
9494
# Posix ACL utility routines
9595
#
9696
# Note: Posix ACLs can be implemented without these helpers. Never use

0 commit comments

Comments
 (0)