dm raid: a few cleanups
authorHeinz Mauelshagen <heinzm@redhat.com>
Wed, 29 Apr 2015 12:03:00 +0000 (14:03 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 29 May 2015 18:19:00 +0000 (14:19 -0400)
commitc76d53f43ec4f9b9f200f031d303f21bdf6927d0
tree8b74391602ff250e135a3a0e5b2b7c25a58f8526
parent0f4106b32f36165a4f40b6aad0372e02ff14cf34
dm raid: a few cleanups

- ensure maximum device limit in superblock
- rename DMPF_* (print flags) to CTR_FLAG_* (constructor flags)
  and their respective struct raid_set member
- use strcasecmp() in raid10_format_to_md_layout() as in the constructor

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