Skip to content
Commit 5c694129 authored by Kumar Amit Mehta's avatar Kumar Amit Mehta Committed by Kent Overstreet
Browse files

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: default avatarKumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: default avatarKent Overstreet <koverstreet@google.com>
parent 9e895ace
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment