dm raid: inverse check for flags from invalid to valid flags
authorHeinz Mauelshagen <heinzm@redhat.com>
Thu, 9 Jun 2016 14:42:16 +0000 (16:42 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 14 Jun 2016 21:25:02 +0000 (17:25 -0400)
commita30cbc0d1c80f2d07a1b973e1f4c58d925a3ff4a
treea4c3678c991acefefd6c75e76070119e8e37f75c
parente6ca5e1a0323a34a24999243a00374a8c2cbafe1
dm raid: inverse check for flags from invalid to valid flags

It is more intuitive to manage each raid level's features in terms of
what is supported rather than what isn't supported.

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