Home
last modified time | relevance | path

Searched hist:f8d2ad7881cde73508f9adeb28c7e033b0903ca8 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff f8d2ad7881cde73508f9adeb28c7e033b0903ca8 Tue Jun 01 02:52:13 CDT 2021 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> block: document child argument of bdrv_attach_child_common()

The logic around **child is not obvious: this reference is used not
only to return resulting child, but also to rollback NULL value on
transaction abort.

So, let's add documentation and some assertions.

While being here, drop extra declaration of bdrv_attach_child_noperm().

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210601075218.79249-2-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>