dax: remove __generic_fsdax_supported
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Aug 2021 13:55:07 +0000 (15:55 +0200)
committerDan Williams <dan.j.williams@intel.com>
Thu, 26 Aug 2021 23:52:03 +0000 (16:52 -0700)
commitcd93a2a4d1b076f5c73d70d836c202bbcbeea49e
treeedd152770904921200d34e46dfe5c1fdd5a18f69
parent673a0658f6ac359131a881c0dcf1b91c2500ab9c
dax: remove __generic_fsdax_supported

Just implement generic_fsdax_supported directly out of line instead of
adding a wrapper.  Given that generic_fsdax_supported is only supplied
for CONFIG_FS_DAX builds this also allows to not provide it at all for
!CONFIG_FS_DAX builds.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20210826135510.6293-7-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c
include/linux/dax.h