aboutsummaryrefslogtreecommitdiff
path: root/block/copy-before-write.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-08-24 11:38:38 +0300
committerHanna Reitz <hreitz@redhat.com>2021-09-01 14:03:47 +0200
commit5a507426740b4d7bdd2b333cfa7f5da3e60ebad8 (patch)
tree00d966cc513cd7eb824b442457b3632f7000e60a /block/copy-before-write.h
parentfe7ea40c0ea62d9d4542e6e091186cd60088d3fb (diff)
block/copy-before-write: cbw_init(): use file child after attaching
In the next commit we'll get rid of source argument of cbw_init(). Prepare to it now, to make next commit simpler: move the code block that uses source below attaching the child and use bs->file->bs instead of source variable. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210824083856.17408-17-vsementsov@virtuozzo.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'block/copy-before-write.h')
0 files changed, 0 insertions, 0 deletions