block/backup: split shareable copying part from backup_do_cow
commit0bd0c44372868432c6bde5b0022974f65241f105
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 20 Sep 2019 14:20:44 +0000 (20 17:20 +0300)
committerMax Reitz <mreitz@redhat.com>
Thu, 10 Oct 2019 08:56:17 +0000 (10 10:56 +0200)
tree22fbe298c9d5929ae8e25aa43db2c5bd91fe0079
parent1048ddf0a32dcdaa952e581bd503d49adad527cc
block/backup: split shareable copying part from backup_do_cow

Split copying logic which will be shared with backup-top filter.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190920142056.12778-4-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/backup.c