diff options
| author | Max Reitz <mreitz@redhat.com> | 2018-02-13 14:03:55 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2018-02-13 16:18:38 +0100 |
| commit | 1a62baf62bdc30ec4856ac569cefb9d831808253 (patch) | |
| tree | 3dcbb95c900fb936187d745c524f84584ce67a21 /hw/arm/omap2.c | |
| parent | 8b9ad56e9cbfd852af53090d18bb32e94b539253 (diff) | |
| download | focaccia-qemu-1a62baf62bdc30ec4856ac569cefb9d831808253.tar.gz focaccia-qemu-1a62baf62bdc30ec4856ac569cefb9d831808253.zip | |
sheepdog: Pass old and new size to sd_prealloc()
sd_prealloc() will now preallocate the area [old_size, new_size). As before, it rounds to buf_size and may thus overshoot and preallocate areas that were not requested to be preallocated. For image creation, this is no change in behavior. For truncation, this is in accordance with the documentation for preallocated truncation. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/arm/omap2.c')
0 files changed, 0 insertions, 0 deletions