Correct config option to use is CONFIG_FUSE_DAX and not CONFIG_VIRTIO_FS_DAX. Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx> --- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 7b53ae43860c..380577159c6e 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -3480,6 +3480,6 @@ void fuse_init_file_inode(struct inode *inode) init_waitqueue_head(&fi->page_waitq); fi->writepages = RB_ROOT; - if (IS_ENABLED(CONFIG_VIRTIO_FS_DAX)) + if (IS_ENABLED(CONFIG_FUSE_DAX)) fuse_dax_inode_init(inode); } -- 2.25.4