Re: [PATCH v3 4/8] parallels: Move check of unclean image to a separate function

2022-08-17 Thread Vladimir Sementsov-Ogievskiy
On 8/15/22 12:02, Alexander Ivanov wrote: We will add more and more checks so we need a better code structure in parallels_co_check. Let each check performs in a separate loop in a separate helper. Signed-off-by: Alexander Ivanov Reviewed-by: Vladimir Sementsov-Ogievskiy -- Best regards, Vla

[PATCH v3 4/8] parallels: Move check of unclean image to a separate function

2022-08-15 Thread Alexander Ivanov
We will add more and more checks so we need a better code structure in parallels_co_check. Let each check performs in a separate loop in a separate helper. Signed-off-by: Alexander Ivanov --- v2: Revert the condition with s->header_unclean. v3: Fix commit message. block/parallels.c | 31 +++