On 20.05.21 16:21, Vladimir Sementsov-Ogievskiy wrote:
Refactor the function to replace child at last. Thus we don't need to
revert it and code is simplified.

block-copy state initilization being done before replacing the child

still *initialization

Max

doesn't need any drained section.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
Reviewed-by: Max Reitz <mre...@redhat.com>
---
  block/copy-before-write.c | 33 +++++++++++----------------------
  1 file changed, 11 insertions(+), 22 deletions(-)


Reply via email to