block: Invalidate all children
commit0d1c5c91607d1c55a8f5db39c57c6e5c76e21131
authorFam Zheng <famz@redhat.com>
Wed, 11 May 2016 02:45:33 +0000 (11 10:45 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 May 2016 13:22:09 +0000 (12 15:22 +0200)
tree34909cc559768490b577f4975f46eec9ab1ca441
parent52a46505742cce4b4b7f88d32636f848287e6bfb
block: Invalidate all children

Currently we only recurse to bs->file, which will miss the children in quorum
and VMDK.

Recurse into the whole subtree to avoid that.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c