dm: use dm_table_get_device_name() where appropriate in targets
dm_table_get_device_name() avoids calling dm_table_get_md() followed bydm_device_name() -- saves intermediate dm_table_get_md() call.Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Mike Snitzer 5 years ago d4a512ed 33bd6f06