]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad81a62444c0cba2b0944ff64150336d072e28a2
tree761137483cb92db53f1484be40bf6094cdce7aa2
parent81e0e7134ab085ac5d0890177bfed38a0f2be4f8
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: 23dee0059488 ("block, dax: move 'select DAX' from BLOCK to FS_DAX")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c