block.c (79bb76272763c090f2b1dae9519c516257241cac) block.c (ec82cc41a79ffa8b1a2dee76a420a34a59f117c6)
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 * Copyright (c) 2020 Virtuozzo International GmbH.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 8477 unchanged lines hidden (view full) ---

8486 assert(!found);
8487 found = c;
8488 }
8489 }
8490
8491 return found;
8492}
8493
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 * Copyright (c) 2020 Virtuozzo International GmbH.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 8477 unchanged lines hidden (view full) ---

8486 assert(!found);
8487 found = c;
8488 }
8489 }
8490
8491 return found;
8492}
8493
8494static BlockDriverState *bdrv_do_skip_filters(BlockDriverState *bs,
8495 bool stop_on_explicit_filter)
8494static BlockDriverState * GRAPH_RDLOCK
8495bdrv_do_skip_filters(BlockDriverState *bs, bool stop_on_explicit_filter)
8496{
8497 BdrvChild *c;
8498
8499 if (!bs) {
8500 return NULL;
8501 }
8502
8503 while (!(stop_on_explicit_filter && !bs->implicit)) {

--- 129 unchanged lines hidden ---
8496{
8497 BdrvChild *c;
8498
8499 if (!bs) {
8500 return NULL;
8501 }
8502
8503 while (!(stop_on_explicit_filter && !bs->implicit)) {

--- 129 unchanged lines hidden ---