block: Include filters when freezing backing chain
commit7b99a26600ea4953f9eb9a0cc3aa4c84b19718cc
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 14:07:11 +0000 (12 16:07 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:30 +0000 (7 12:31 +0200)
tree232d4c446e774af3eb3b64321082974cba0f2c08
parent9ee413cb561092e2db2ba5a7110282a36fb9fd25
block: Include filters when freezing backing chain

In order to make filters work in backing chains, the associated
functions must be able to deal with them and freeze both COW and filter
child links.

While at it, add some comments that note which functions require their
caller to ensure that a given child link is not frozen, and how the
callers do so.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block.c