dax: Get rid of fs_dax_get_by_host() helper
authorVivek Goyal <vgoyal@redhat.com>
Mon, 6 Jan 2020 18:11:17 +0000 (13:11 -0500)
committerDan Williams <dan.j.williams@intel.com>
Thu, 16 Jan 2020 17:52:27 +0000 (09:52 -0800)
commitf01b16a85bfae2e6b4f32de0a1f37ac4050dc316
treef78afdd595cee529a9f2b9ac30fd4c92ab17980c
parent3f666c56c6b8cc40a5e9002aac484b8f5b83c402
dax: Get rid of fs_dax_get_by_host() helper

Looks like nobody is using fs_dax_get_by_host() except fs_dax_get_by_bdev()
and it can easily use dax_get_by_host() instead.

IIUC, fs_dax_get_by_host() was only introduced so that one could compile
with CONFIG_FS_DAX=n and CONFIG_DAX=m. fs_dax_get_by_bdev() achieves
the same purpose and hence it looks like fs_dax_get_by_host() is not
needed anymore.

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