block/iscsi: remove .bdrv_has_zero_init
PATCH 1/1 block/iscsi: remove .bdrv_has_zero_init
since commit 3ac21627 the default value changed to 0.
Signed-off-by Peter Lieven <[email protected]>
--- block/iscsi.c | 7 ------- 1 file changed, 7 deletions(-)
block/iscsi.c +0 -7
@@ -1447,11 +1447,6 @@ static int iscsi_truncate(BlockDriverState *bs, int64_t offset)return 0 ; } -static int iscsi_has_zero_init (BlockDriverState *bs) -{ -return 0 ; -} -static int iscsi_create (const char *filename,QEMUOptionParameter *options,Error **errp) {
@@ -1538,8 +1533,6 @@ static BlockDriver bdrv_iscsi = { .bdrv_aio_writev = iscsi_aio_writev, .bdrv_aio_flush = iscsi_aio_flush, - .bdrv_has_zero_init = iscsi_has_zero_init, - #ifdef __linux__ .bdrv_ioctl = iscsi_ioctl, .bdrv_aio_ioctl = iscsi_aio_ioctl,
Signature · 1 line
1.7.9.5
Am 11.10.2013 um 09:59 hat Peter Lieven geschrieben:
Quoted 3 lines
since commit
3ac21627the default value changed to 0.Signed-off-by Peter Lieven <[email protected]>
Reviewed-by Kevin Wolf <[email protected]>
Paolo Bonzini
AppliedIl 11/10/2013 11:41, Kevin Wolf ha scritto:
Quoted 6 lines
Am 11.10.2013 um 09:59 hat Peter Lieven geschrieben:
Quoted 3 lines
since commit
3ac21627the default value changed to 0.Signed-off-by Peter Lieven <[email protected]>Reviewed-by Kevin Wolf <[email protected]>
Applied to scsi-next branch, thanks.
Paolo