MD: fix a null dereference
rdev->mddev could be null in start time. Reported-by: NMing Lei <ming.lei@redhat.com> Fix: 5a85071c(md: use a separate bio_set for synchronous IO.) Cc: NeilBrown <neilb@suse.com> Signed-off-by: NShaohua Li <shli@fb.com>
Showing
想要评论请 注册 或 登录