Re: [PATCH] block/monitor: blk_bs() return value check

2023-11-24 Thread Дмитрий Фролов
On 24.11.2023 16:06, Kevin Wolf wrote: Am 24.11.2023 um 12:30 hat Dmitry Frolov geschrieben: blk_bs() may return NULL, which will be dereferenced without a check in bdrv_commit(). Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Dmitry Frolov Do you have a

Re: [PATCH] fix bdrv_open_child return value check

2023-09-01 Thread Дмитрий Фролов
Hello, Kevin. This was just cleanup, based on the inspection. Dmitry. 01.09.2023 14:15, Kevin Wolf пишет: Am 31.08.2023 um 14:59 hat Dmitry Frolov geschrieben: bdrv_open_child() may return NULL. Usually return value is checked for this function. Check for return value is more reliable. Fixes