Message ID | 20211109083309.584081-30-hch@lst.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [01/29] nvdimm/pmem: move dax_attribute_group from dax to pmem | expand |
On Tue, Nov 09, 2021 at 09:33:09AM +0100, Christoph Hellwig wrote: > 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> Looks good, Reviewed-by: Darrick J. Wong <djwong@kernel.org> --D > --- > fs/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/Kconfig b/fs/Kconfig > index 6d608330a096e..7a2b11c0b8036 100644 > --- a/fs/Kconfig > +++ b/fs/Kconfig > @@ -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 > @@ -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 > -- > 2.30.2 >
On Tue, Nov 9, 2021 at 12:34 AM Christoph Hellwig <hch@lst.de> wrote: > > The file system DAX code now does not require the block code. So allow > building a kernel with fuse DAX but not block layer. Looks good to me. Reviewed-by: Dan Williams <dan.j.williams@intel.com>
diff --git a/fs/Kconfig b/fs/Kconfig index 6d608330a096e..7a2b11c0b8036 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -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 @@ -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
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> --- fs/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)