diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-06-10 14:25:44 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-06-29 16:51:00 +0200 |
commit | 4bf021dbd5d4da22058d425dceae93ce11ff3700 (patch) | |
tree | 96d8f02238dc6e7b4e5529bc21f15073b4923110 /hw/input/vhost-user-input.c | |
parent | d5b23994586934f18853684307bc01965bcdad4b (diff) | |
download | qemu-4bf021dbd5d4da22058d425dceae93ce11ff3700.zip qemu-4bf021dbd5d4da22058d425dceae93ce11ff3700.tar.gz qemu-4bf021dbd5d4da22058d425dceae93ce11ff3700.tar.bz2 |
block: rename bdrv_replace_child to bdrv_replace_child_tran
We have bdrv_replace_child() wrapper on bdrv_replace_child_noperm().
But bdrv_replace_child() doesn't update permissions. It's rather
strange, as normally it's expected that foo() should call foo_noperm()
and update permissions.
Let's rename and add comment.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210610112618.127378-2-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/input/vhost-user-input.c')
0 files changed, 0 insertions, 0 deletions