diff options
author | zhengbin <[email protected]> | 2019-08-13 19:23:12 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-09-04 07:04:37 -0600 |
commit | 03754ea361826fd477d7824ea75ad9e42df1580d (patch) | |
tree | dbc9da4498d452c697d49b260b871af42cf40be7 /lib/dynamic_debug.c | |
parent | d821cce8ac4625ceecabb9c9e2420daaf41d41d8 (diff) |
paride/pcd: need to check if cd->disk is null in pcd_detect
If alloc_disk fails in pcd_init_units, cd->disk & pi are empty, we need
to check if cd->disk is null in pcd_detect.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: zhengbin <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions