diff options
author | Vladimir Sementsov-Ogievskiy | 2021-06-01 09:52:13 +0200 |
---|---|---|
committer | Kevin Wolf | 2021-06-02 14:23:20 +0200 |
commit | f8d2ad7881cde73508f9adeb28c7e033b0903ca8 (patch) | |
tree | d57e52f9baacd8529a43110e03f8c2ddda37e241 /tests/qemu-iotests/qcow2_format.py | |
parent | block/file-posix: Try other fallbacks after invalid FALLOC_FL_ZERO_RANGE (diff) | |
download | qemu-f8d2ad7881cde73508f9adeb28c7e033b0903ca8.tar.gz qemu-f8d2ad7881cde73508f9adeb28c7e033b0903ca8.tar.xz qemu-f8d2ad7881cde73508f9adeb28c7e033b0903ca8.zip |
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>
Diffstat (limited to 'tests/qemu-iotests/qcow2_format.py')
0 files changed, 0 insertions, 0 deletions