aboutsummaryrefslogtreecommitdiff
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-06-01 10:52:17 +0300
committerKevin Wolf <kwolf@redhat.com>2021-06-02 14:23:20 +0200
commitda261b69aee9acb46ac1b0ebfe0ccb7b74450a88 (patch)
treeeab32ff1ce79715907010af7e560fbb0d066fea0 /docs/devel/secure-coding-practices.rst
parent8081f064e404dd524b3c43248b2084dee9d32d7c (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>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions