]> Git Repo - qemu.git/commit
block: Allow bdrv_unref_child(bs, NULL)
authorKevin Wolf <[email protected]>
Tue, 13 Oct 2015 12:09:44 +0000 (14:09 +0200)
committerKevin Wolf <[email protected]>
Fri, 16 Oct 2015 13:34:30 +0000 (15:34 +0200)
commit779020cbdc67011026c10fb620f701bfc6b85547
treedbfe62a69c310d81f0752b5780df5f95e01bc510
parent8e419aefa07ca8e640f8db50b450378e84d60a11
block: Allow bdrv_unref_child(bs, NULL)

bdrv_unref() can be called with a NULL argument and doesn't do anything
then. Make bdrv_unref_child() consistent with it.

Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Jeff Cody <[email protected]>
block.c
This page took 0.024034 seconds and 4 git commands to generate.