commit | da261b69aee9acb46ac1b0ebfe0ccb7b74450a88 | [log] [tgz] |
---|---|---|
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | Tue Jun 01 10:52:17 2021 +0300 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Jun 02 14:23:20 2021 +0200 |
tree | eab32ff1ce79715907010af7e560fbb0d066fea0 | |
parent | 8081f064e404dd524b3c43248b2084dee9d32d7c [diff] |
block: simplify bdrv_child_user_desc() All child classes have this callback. So, drop unreachable code. Still add an assertion to bdrv_attach_child_common(), to early detect bad classes. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20210601075218.79249-6-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>