diff options
author | Jan Kara <jack@suse.cz> | 2020-09-21 11:33:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-23 12:40:47 +0200 |
commit | ef6458fdbb5c1fd6cb7fa94f6d4754495ef5af2e (patch) | |
tree | d65c2715ac1f798ffb15b158fe308aa7b911509d /Makefile | |
parent | d6712eefc77e58a8625dc3f4598369085c824d5c (diff) | |
download | linux-stable-ef6458fdbb5c1fd6cb7fa94f6d4754495ef5af2e.tar.gz linux-stable-ef6458fdbb5c1fd6cb7fa94f6d4754495ef5af2e.tar.bz2 linux-stable-ef6458fdbb5c1fd6cb7fa94f6d4754495ef5af2e.zip |
dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX
commit 88b67edd7247466bc47f01e1dc539b0d0d4b931e upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions