OSDN Git Service

commit: Add 'base' to the reopen queue before 'overlay_bs'
authorAlberto Garcia <berto@igalia.com>
Thu, 15 Sep 2016 14:53:04 +0000 (17:53 +0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Sep 2016 11:36:10 +0000 (13:36 +0200)
commit0fe282bb4b29ad51adefc2e500bcecfb3c499e10
tree633d628eecfe7f0a207d67166ede445f0f23382a
parent5b7ba05fe7313b03712e129a86fa70c2c215e908
commit: Add 'base' to the reopen queue before 'overlay_bs'

Now that we're checking for duplicates in the reopen queue, there's no
need to force a specific order in which the queue is constructed so we
can revert 3db2bd5508c86a1605258bc77c9672d93b5c350e.

Since both ways of constructing the queue are now valid, this patch
doesn't have any effect on the behavior of QEMU and is not strictly
necessary. However it can help us check that the fix for the reopen
queue is robust: if it stops working properly at some point, iotest
040 will break.

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