vpc: Split off vpc_ignore_current_size() helper
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 12 Dec 2024 13:45:03 +0000 (14:45 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 6 Feb 2025 12:59:00 +0000 (13:59 +0100)
commitc5f28995b8fe52be02f400765694203bc6b94904
tree27e8714b4b76e7998a2cf844ab894874019098e2
parentd922088eb4ba6bc31a99f17b32cf75e59dd306cd
vpc: Split off vpc_ignore_current_size() helper

In preparation to making changes to the logic deciding whether CHS or
'current_size' need to be used in determining the image size, split off
vpc_ignore_current_size() helper.

No functional change intended.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-ID: <20241212134504.1983757-2-vkuznets@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vpc.c