summaryrefslogtreecommitdiff
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-08-13 14:23:12 +0300
committerJens Axboe <axboe@kernel.dk>2019-09-04 16:04:37 +0300
commit03754ea361826fd477d7824ea75ad9e42df1580d (patch)
treedbc9da4498d452c697d49b260b871af42cf40be7 /fs/libfs.c
parentd821cce8ac4625ceecabb9c9e2420daaf41d41d8 (diff)
downloadlinux-03754ea361826fd477d7824ea75ad9e42df1580d.tar.xz
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 <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions