Jia-Ju Bai 40f567bbb3 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 <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20220527152818.27545-4-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-05-27 09:49:48 -06:00
..
2022-03-24 19:37:53 -07:00
2022-03-24 19:37:53 -07:00
2022-03-24 19:37:53 -07:00
2022-04-17 19:49:59 -06:00
2021-12-04 08:58:51 -08:00
2022-05-22 23:07:21 -07:00
2022-05-22 23:07:22 -07:00
2022-03-08 15:16:54 -08:00
2022-05-22 23:07:21 -07:00
2022-03-08 15:16:54 -08:00
2022-05-22 23:07:21 -07:00
2022-05-22 23:07:21 -07:00
2022-05-22 23:07:21 -07:00
2022-03-08 15:16:54 -08:00