Re: [PATCH v10 02/12] parallels: Fix high_off calculation in parallels_co_check()

2023-02-14 Thread Vladimir Sementsov-Ogievskiy
On 03.02.23 12:18, Alexander Ivanov wrote: Don't let high_off be more than the file size even if we don't fix the image. Signed-off-by: Alexander Ivanov Reviewed-by: Denis V. Lunev Reviewed-by: Vladimir Sementsov-Ogievskiy -- Best regards, Vladimir

[PATCH v10 02/12] parallels: Fix high_off calculation in parallels_co_check()

2023-02-03 Thread Alexander Ivanov
Don't let high_off be more than the file size even if we don't fix the image. Signed-off-by: Alexander Ivanov Reviewed-by: Denis V. Lunev --- block/parallels.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/parallels.c b/block/parallels.c index 4af68adc61..436b36b