Files
linux/block
zhengbin 4d7c1d3fd7 block: fix NULL pointer dereference in register_disk
If __device_add_disk-->bdi_register_owner-->bdi_register-->
bdi_register_va-->device_create_vargs fails, bdi->dev is still
NULL, __device_add_disk-->register_disk will visit bdi->dev->kobj.
This patch fixes that.

Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-28 14:01:36 -07:00
..
2019-02-15 08:40:12 -07:00
2018-11-07 13:42:32 -07:00
2018-12-16 19:53:47 -07:00
2019-02-09 15:40:24 -07:00
2018-11-15 12:13:25 -07:00
2018-12-21 08:47:58 -07:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00
2018-11-07 13:42:32 -07:00