Skip to content
Commit 514cf4f8 authored by Peng Wang's avatar Peng Wang Committed by Mike Snitzer
Browse files

dm: only initialize md->dax_dev if CONFIG_DAX_DRIVER is enabled



md->dax_dev defaults to NULL and there is no need to initialize it
if CONFIG_DAX_DRIVER is disabled.

Signed-off-by: default avatarPeng Wang <rocking@whu.edu.cn>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 5de719e3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment