diff options
author | Jan Kara <jack@suse.cz> | 2020-09-21 11:33:23 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-09-21 06:53:09 -0700 |
commit | 88b67edd7247466bc47f01e1dc539b0d0d4b931e (patch) | |
tree | ccbb9aaef702fa321660c774b35494ae96d5b669 /include/linux/hash.h | |
parent | ba4f184e126b751d1bffad5897f263108befc780 (diff) |
dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX
dax_supported() is defined whenever CONFIG_DAX is enabled. So dummy
implementation should be defined only in !CONFIG_DAX case, not in
!CONFIG_FS_DAX case.
Fixes: e2ec51282545 ("dm: Call proper helper to determine dax support")
Cc: <stable@vger.kernel.org>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/hash.h')
0 files changed, 0 insertions, 0 deletions