On Wed, Jan 22, 2025 at 12:50:38PM +0100, Kevin Wolf wrote: > What we wanted to catch with the assertion is cases where the recursion > finds that a child was inactive before its parent. This should never > happen. But if the user tries to inactivate an image that is already > inactive, that's harmless and we don't want to fail the assertion. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block.c | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-)
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org