]> git.proxmox.com Git - mirror_qemu.git/commit - block/nfs.c
block: Add .bdrv_truncate() error messages
authorMax Reitz <mreitz@redhat.com>
Tue, 28 Mar 2017 20:51:29 +0000 (22:51 +0200)
committerMax Reitz <mreitz@redhat.com>
Fri, 28 Apr 2017 14:02:03 +0000 (16:02 +0200)
commitf59adb325618a2d2ba16aece551e7ab6acadb0ae
treebf67551473ad370d0b4ce17906c93247246aa622
parent4bff28b81a0ddb48a09d279e99ab847e8a292506
block: Add .bdrv_truncate() error messages

Add missing error messages for the block driver implementations of
.bdrv_truncate(); drop the generic one from block.c's bdrv_truncate().

Since one of these changes touches a mis-indented block in
block/file-posix.c, this patch fixes that coding style issue along the
way.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20170328205129.15138-5-mreitz@redhat.com
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block.c
block/file-posix.c
block/gluster.c
block/iscsi.c
block/nfs.c
block/qcow2.c
block/qed.c
block/raw-format.c
block/rbd.c