dm: various cleanups to md->queue initialization code
authorMike Snitzer <snitzer@redhat.com>
Fri, 12 Jan 2018 14:32:21 +0000 (09:32 -0500)
committerMike Snitzer <snitzer@redhat.com>
Mon, 29 Jan 2018 18:44:55 +0000 (13:44 -0500)
commitc12c9a3c3860c76ba273798c0c34c6f1294cc759
tree7743e38d1794d2fb5709d4c22909b0fc3dcb63c8
parentac514ffc968bf14649dd0e048447dc966ee49555
dm: various cleanups to md->queue initialization code

Also, add dm_sysfs_init() error handling to dm_create().

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