Skip to content
Commit 5797a36a authored by Max Reitz's avatar Max Reitz Committed by Michael Roth
Browse files

block: Add errp to b{lk,drv}_truncate()



For one thing, this allows us to drop the error message generation from
qemu-img.c and blockdev.c and instead have it unified in
bdrv_truncate().

Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Message-id: 20170328205129.15138-3-mreitz@redhat.com
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
(cherry picked from commit ed3d2ec9)
* prereq for 698bdfa0
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 73aa7ad7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment