src/qemu/src-pmp/block.c
/* Return true if you can reach parent going through child->inherits_from
 * recursively. If parent or child are NULL, return false */
Return true if you can reach parent going through child->inherits_from
recursively. If parent or child are NULL, return false
Return true if you can reach parent going through child - > inherits_from recursively . If parent or child are NULL return false
static bool bdrv_inherits_from_recursive(BlockDriverState *child,
                                         BlockDriverState *parent)
{
    while (child && child != parent) {
        child = child->inherits_from;
    }
    return child != NULL;
}
static bool bdrv_inherits_from_recursive ( BlockDriverState * child , BlockDriverState * parent ) { while ( child && child != parent ) { child = child -> inherits_from ; } return child != NULL ; }
Return true if you can reach parent going through child->inherits_from
 recursively.
Return true if you can reach parent going through child - > inherits_from recursively .