dax: fix false CONFIG_BLOCK dependency
authorDan Williams <dan.j.williams@intel.com>
Sat, 13 May 2017 23:18:21 +0000 (16:18 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 13 May 2017 23:18:21 +0000 (16:18 -0700)
commit9d109081c261d87fc84e0cce245796796ae4c460
tree761137483cb92db53f1484be40bf6094cdce7aa2
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
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 <arnd@arndb.de>
Reported-by: Fabian Frederick <fabf@skynet.be>
Fixes: ef51042472f5 ("block, dax: move 'select DAX' from BLOCK to FS_DAX")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c