From b16a7cfac51f944352459602968d7b475ad6273e Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 15 Mar 2018 15:30:56 +0100 Subject: iscsi: fix iSER compilation This fails in Fedora 28. Reported-by: Andreas Schwab Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- block/iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block/iscsi.c') diff --git a/block/iscsi.c b/block/iscsi.c index a82170f16e..f5aecfc883 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -2244,7 +2244,7 @@ static BlockDriver bdrv_iser = { .create_opts = &iscsi_create_opts, .bdrv_reopen_prepare = iscsi_reopen_prepare, .bdrv_reopen_commit = iscsi_reopen_commit, - .bdrv_invalidate_cache = iscsi_invalidate_cache, + .bdrv_co_invalidate_cache = iscsi_co_invalidate_cache, .bdrv_getlength = iscsi_getlength, .bdrv_get_info = iscsi_get_info, -- cgit v1.2.3