commit | 33a604075c51e5528eed970eeaeefe609ea2337d | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Jun 15 13:51:04 2015 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Jul 14 17:15:23 2015 +0200 |
tree | 52f4f7af38d22a372270cc25c3fd863970a341c2 | |
parent | b4b059f628173dd1d722ee8a9c592a80aec1fc2f [diff] |
block: Introduce bdrv_unref_child() This is the counterpart for bdrv_open_child(). It decreases the reference count of the child BDS and removes it from the list of children of the given parent BDS. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>