md: fix error paths from bitmap_create.
authorNeilBrown <neilb@suse.de>
Wed, 25 Feb 2015 00:44:11 +0000 (11:44 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 25 Feb 2015 00:44:11 +0000 (11:44 +1100)
commitba599aca520d6005138d1e5edb125fb83a130141
treeaa0cf6d5ca70fef5dfffcf797d40ed6a2aaa5d31
parent1aee41f637694d4bbf91c24195f2b63e3f6badd2
md: fix error paths from bitmap_create.

Recent change to bitmap_create mishandles errors.
In particular a failure doesn't alway cause 'err' to be set.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c