Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
md: bcache: check the return value of kzalloc() in detached_dev_do_re…
…quest() The function kzalloc() in detached_dev_do_request() can fail, so its return value should be checked. Fixes: bc082a5 ("bcache: fix inaccurate io state for detached bcache devices") Reported-by: TOTE Robot <[email protected]> Signed-off-by: Jia-Ju Bai <[email protected]> Signed-off-by: Coly Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information