md: bcache: io.c: fix a potential NULL pointer dereference
bio_alloc_bioset returns NULL on failure. This fix adds a missing check for potential NULL pointer dereferencing. Signed-off-by: NKumar Amit Mehta <gmate.amit@gmail.com> Signed-off-by: NKent Overstreet <koverstreet@google.com>
Showing
想要评论请 注册 或 登录