Message ID | 1381478369-31023-1-git-send-email-pl@kamp.de |
---|---|
State | New |
Headers | show |
Am 11.10.2013 um 09:59 hat Peter Lieven geschrieben: > since commit 3ac21627 the default value changed to 0. > > Signed-off-by: Peter Lieven <pl@kamp.de> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Il 11/10/2013 11:41, Kevin Wolf ha scritto: > Am 11.10.2013 um 09:59 hat Peter Lieven geschrieben: >> since commit 3ac21627 the default value changed to 0. >> >> Signed-off-by: Peter Lieven <pl@kamp.de> > > Reviewed-by: Kevin Wolf <kwolf@redhat.com> Applied to scsi-next branch, thanks. Paolo
diff --git a/block/iscsi.c b/block/iscsi.c index a2a961e..a660a1c 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -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,
since commit 3ac21627 the default value changed to 0. Signed-off-by: Peter Lieven <pl@kamp.de> --- block/iscsi.c | 7 ------- 1 file changed, 7 deletions(-)