qcow2: handle_alloc(): Get rid of keep_clusters parameter
authorKevin Wolf <kwolf@redhat.com>
Tue, 26 Mar 2013 16:50:02 +0000 (17:50 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 28 Mar 2013 10:52:43 +0000 (11:52 +0100)
commit3b8e2e260c8cee63c9253718983a6682dc2771d7
tree8e3f90301b0ec10f579665951c01ca1306421136
parentf5bc63509471299176066d5f63bb8ff2e15af279
qcow2: handle_alloc(): Get rid of keep_clusters parameter

handle_alloc() is now called with the offset at which the actual new
allocation starts instead of the offset at which the whole write request
starts, part of which may already be processed.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2-cluster.c
block/qcow2.h