Commit 9d109081 authored by Dan Williams's avatar Dan Williams
Browse files

dax: fix false CONFIG_BLOCK dependency

In the BLOCK=n case the dax core does not need to / must not emit the
block-device-dax helpers. Otherwise it leads to compile errors.

Cc: Arnd Bergmann <>
Reported-by: default avatarFabian Frederick <>
Fixes: ef510424

 ("block, dax: move 'select DAX' from BLOCK to FS_DAX")
Signed-off-by: default avatarDan Williams <>
parent 2ea659a9
......@@ -44,6 +44,7 @@ void dax_read_unlock(int id)
int bdev_dax_pgoff(struct block_device *bdev, sector_t sector, size_t size,
pgoff_t *pgoff)
......@@ -112,6 +113,7 @@ int __bdev_dax_supported(struct super_block *sb, int blocksize)
return 0;
* struct dax_device - anchor object for dax services
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment