md/bitmap: fix wrong cleanup
if bitmap_create fails, the bitmap is already cleaned up and the returned value is an error number. We can't do the cleanup again. Reported-by:Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by:
Shaohua Li <shli@fb.com>
Showing
Please register or sign in to comment