dm: set QUEUE_FLAG_DAX accordingly in dm_table_set_restrictions()
authorMike Snitzer <snitzer@redhat.com>
Tue, 5 Dec 2017 04:28:32 +0000 (23:28 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 13 Dec 2017 17:33:32 +0000 (12:33 -0500)
commitad3793fc3945173f64d82d05d3ecde41f6c0435c
treeef751eaaf1e7997bf33766e9fde6eaa67962607b
parent3d7f45625a84696f61c6470a887bdc65180937a9
dm: set QUEUE_FLAG_DAX accordingly in dm_table_set_restrictions()

Rather than having DAX support be unique by setting it based on table
type in dm_setup_md_queue().

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-table.c
drivers/md/dm.c