]> git.proxmox.com Git - qemu.git/commit - block/sheepdog.c
sheepdog: add missing .bdrv_has_zero_init
authorLiu Yuan <namei.unix@gmail.com>
Tue, 6 Aug 2013 06:44:37 +0000 (14:44 +0800)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Aug 2013 08:41:56 +0000 (10:41 +0200)
commite4f5c1bf8f6f6fe0bb4c743452bf8288033e80ba
tree58b59115b58add5a48041ee4292eae1bcf50f115
parent9580498b9a599b38c3a28599dcd40bd59f12af2c
sheepdog: add missing .bdrv_has_zero_init

Commit 3ac21627 changed the behaviour of bdrv_has_zero_init() to default
to 0. In the review for Sheepdog it turned out that enabling it is safe,
so that commit updated one BlockDriver definition of sheepdog to use
bdrv_has_zero_init_1, missed however that there are more BlockDrivers in
the driver. Fix these now.

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/sheepdog.c