Re: [PATCH linux-next] device-dax: fix BLOCK dependency

From: Dan Williams
Date: Sat May 13 2017 - 19:21:44 EST


On Sat, May 13, 2017 at 11:59 AM, Fabian Frederick <fabf@xxxxxxxxx> wrote:
> commit ef51042472f5 ("block, dax: move "select DAX" from BLOCK to FS_DAX")
> uses get_start_sect() which requires CONFIG_BLOCK
>
> make allnoconfig + dax gives the following:
>
> drivers/dax/super.c: In function 'bdev_dax_pgoff':
> drivers/dax/super.c:50:26: error: implicit declaration of function
> 'get_start_sect' [-Werror=implicit-function-declaration]
>

Ah, sorry for this breakage, I guess this is a config that kbuild does
not attempt. I'll fix this up by not compiling the block-related
helpers in the BLOCK=n case.