block: Re-evaluate backing file handling in reopen
commit1d42f48c3a468fbf53660970d7372d0f0f9d0529
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 15:24:39 +0000 (12 17:24 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (7 12:31 +0200)
treebec510543a8fadd5d83bb45354f4cc63f5b0ca8e
parent23b93525a2f30915f6c8418eb23db6912a3b5811
block: Re-evaluate backing file handling in reopen

Reopening a node's backing child needs a bit of special handling because
the "backing" child has different defaults than all other children
(among other things).  Adding filter support here is a bit more
difficult than just using the child access functions.  In fact, we often
have to directly use bs->backing because these functions are about the
"backing" child (which may or may not be the COW backing file).

Signed-off-by: Max Reitz <mreitz@redhat.com>
block.c