dm raid: use rt_is_raid*() in all appropriate checks
authorHeinz Mauelshagen <heinzm@redhat.com>
Thu, 19 May 2016 16:49:29 +0000 (18:49 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 13 Jun 2016 18:40:28 +0000 (14:40 -0400)
commit676fa5ad6e96e5704b0f2d5bb56ea115c807eef4
treea78ad1408ad500091ff167bd8dd92abad6ed1d3a
parentad51d7f1d1731f0fd62690edda706288bc965abb
dm raid: use rt_is_raid*() in all appropriate checks

Make use if raid type rt_is_*() bool functions for simplification and
consistency reasons.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid.c