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: NChristophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: NShaohua Li <shli@fb.com>
Showing
想要评论请 注册 或 登录