Re: [pre-linux-4.12-rc1] undefined reference to `put_dax' `dax_get_by_host'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 13, 2017 at 4:23 AM, Tetsuo Handa
<penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:
> Hello.
>
> I got build failures as of commit 0fcc3ab23d7395f5 ("Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm").
>
> $ make
> fs/built-in.o: In function `xfs_file_iomap_end':
> xfs_iomap.c:(.text+0xe0ef9): undefined reference to `put_dax'
> fs/built-in.o: In function `xfs_file_iomap_begin':
> xfs_iomap.c:(.text+0xe1a7f): undefined reference to `dax_get_by_host'
> make: *** [vmlinux] Error 1
> $ grep DAX .config
> CONFIG_DAX=m
> # CONFIG_DEV_DAX is not set
> # CONFIG_FS_DAX is not set

Yes, sorry about that. I think we need fs_dax_get_by_host() that
always fails in the FS_DAX=n case so the compiler knows to throw away
that code.
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux