diff options
| author | Vladimir Sementsov-Ogievskiy | 2021-04-28 17:18:02 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2021-04-30 12:27:48 +0200 |
| commit | ecb776bd93ae07299a109bb2c9d4dea7c5dc90dd (patch) | |
| tree | 3594deff74669b7b9636494eec5fe2096df83a9f /include/exec/exec-all.h | |
| parent | block: inline bdrv_replace_child() (diff) | |
| download | qemu-ecb776bd93ae07299a109bb2c9d4dea7c5dc90dd.tar.gz qemu-ecb776bd93ae07299a109bb2c9d4dea7c5dc90dd.tar.xz qemu-ecb776bd93ae07299a109bb2c9d4dea7c5dc90dd.zip | |
block: refactor bdrv_child_set_perm_safe() transaction action
Old interfaces dropped, nobody directly calls
bdrv_child_set_perm_abort() and bdrv_child_set_perm_commit(), so we can
use personal state structure for the action and stop exploiting
BdrvChild structure. Also, drop "_safe" suffix which is redundant now.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210428151804.439460-35-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
