diff options
| author | Jia-Ju Bai <[email protected]> | 2022-05-27 23:28:18 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-05-27 09:49:48 -0600 |
| commit | 40f567bbb3b0639d2ec7d1c6ad4b1b018f80cf19 (patch) | |
| tree | 0557e29ac47e09c9183fba2d9e09a085b63be377 /tools/perf/scripts/python | |
| parent | 7d6b902ea0e02b2a25c480edf471cbaa4ebe6b3c (diff) | |
md: bcache: check the return value of kzalloc() in detached_dev_do_request()
The function kzalloc() in detached_dev_do_request() can fail, so its
return value should be checked.
Fixes: bc082a55d25c ("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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions