Skip to content

Commit

Permalink
fsdax: don't require CONFIG_BLOCK
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Christoph Hellwig authored and djbw committed Dec 4, 2021
1 parent ca72d22 commit b842f1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ source "fs/nilfs2/Kconfig"
source "fs/f2fs/Kconfig"
source "fs/zonefs/Kconfig"

endif # BLOCK

config FS_DAX
bool "File system based Direct Access (DAX) support"
depends on MMU
Expand Down Expand Up @@ -89,8 +91,6 @@ config FS_DAX_PMD
config FS_DAX_LIMITED
bool

endif # BLOCK

# Posix ACL utility routines
#
# Note: Posix ACLs can be implemented without these helpers. Never use
Expand Down

0 comments on commit b842f1d

Please sign in to comment.