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 <[email protected]> Reviewed-by: Dan Williams <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
1 parent ca72d22 commit b842f1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)