commit | 38701b6aef5e934c5901905e8ca2c50453088a81 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu May 04 18:52:39 2017 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu May 11 12:08:24 2017 +0200 |
tree | 5529364f508d67ce4837989f005b263eafd68775 | |
parent | cfa1a5723f0fc8eb6563fb1d19c206fd5e40cd41 [diff] |
block: Inactivate parents before children The proper order for inactivating block nodes is that first the parents get inactivated and then the children. If we do things in this order, we can assert that we didn't accidentally leave a parent activated when one of its child nodes is inactive. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>