md/raid0: check for bitmap compatability when changing raid levels.
authorNeilBrown <neilb@suse.de>
Wed, 6 Aug 2014 06:34:27 +0000 (16:34 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 8 Aug 2014 05:33:17 +0000 (15:33 +1000)
commita8461a61c241a25afedbe493c13d98a6e0cf4246
tree129cf82707c536924406d7029fd66ae431eb577e
parentac7e50a3835de2321bcc511e4b6fe736c73c830f
md/raid0: check for bitmap compatability when changing raid levels.

If an array has a bitmap, then it cannot be converted to raid0.

Reported-by: Xiao Ni <xni@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid0.c