]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm table: simplify dm_table_determine_type()
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 15 Nov 2016 23:33:16 +0000 (15:33 -0800)
committerMike Snitzer <snitzer@redhat.com>
Thu, 8 Dec 2016 19:13:03 +0000 (14:13 -0500)
commit5b8c01f74cf03b1ec013fcf358b384706233f2f0
tree81940efae26d1b96bb430a606dacf4abaee1157e
parent301fc3f5efb98633115bd887655b19f42c6dfaa8
dm table: simplify dm_table_determine_type()

Use a single loop instead of two loops to determine whether or not
all_blk_mq has to be set.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-table.c