Blame SOURCES/kvm-tests-test-blockjob-txn-move-.exit-to-.clean.patch

1bdc94
From 45cb87c803124a009d401ab959bb4881f84ac4e1 Mon Sep 17 00:00:00 2001
1bdc94
From: John Snow <jsnow@redhat.com>
1bdc94
Date: Mon, 10 Sep 2018 18:17:57 +0200
1bdc94
Subject: [PATCH 19/25] tests/test-blockjob-txn: move .exit to .clean
1bdc94
1bdc94
RH-Author: John Snow <jsnow@redhat.com>
1bdc94
Message-id: <20180910181803.11781-20-jsnow@redhat.com>
1bdc94
Patchwork-id: 82097
1bdc94
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH 19/25] tests/test-blockjob-txn: move .exit to .clean
1bdc94
Bugzilla: 1626061
1bdc94
RH-Acked-by: Max Reitz <mreitz@redhat.com>
1bdc94
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
1bdc94
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
1bdc94
1bdc94
The exit callback in this test actually only performs cleanup.
1bdc94
1bdc94
Signed-off-by: John Snow <jsnow@redhat.com>
1bdc94
Reviewed-by: Max Reitz <mreitz@redhat.com>
1bdc94
Message-id: 20180906130225.5118-11-jsnow@redhat.com
1bdc94
Reviewed-by: Jeff Cody <jcody@redhat.com>
1bdc94
Signed-off-by: Max Reitz <mreitz@redhat.com>
1bdc94
(cherry picked from commit d498b2b6d6f5a547593a3123c9ed8967965c0c44)
1bdc94
Signed-off-by: John Snow <jsnow@redhat.com>
1bdc94
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
1bdc94
---
1bdc94
 tests/test-blockjob-txn.c | 4 ++--
1bdc94
 1 file changed, 2 insertions(+), 2 deletions(-)
1bdc94
1bdc94
diff --git a/tests/test-blockjob-txn.c b/tests/test-blockjob-txn.c
1bdc94
index ef29f35..86606f9 100644
1bdc94
--- a/tests/test-blockjob-txn.c
1bdc94
+++ b/tests/test-blockjob-txn.c
1bdc94
@@ -24,7 +24,7 @@ typedef struct {
1bdc94
     int *result;
1bdc94
 } TestBlockJob;
1bdc94
 
1bdc94
-static void test_block_job_exit(Job *job)
1bdc94
+static void test_block_job_clean(Job *job)
1bdc94
 {
1bdc94
     BlockJob *bjob = container_of(job, BlockJob, job);
1bdc94
     BlockDriverState *bs = blk_bs(bjob->blk);
1bdc94
@@ -73,7 +73,7 @@ static const BlockJobDriver test_block_job_driver = {
1bdc94
         .user_resume   = block_job_user_resume,
1bdc94
         .drain         = block_job_drain,
1bdc94
         .run           = test_block_job_run,
1bdc94
-        .exit          = test_block_job_exit,
1bdc94
+        .clean         = test_block_job_clean,
1bdc94
     },
1bdc94
 };
1bdc94
 
1bdc94
-- 
1bdc94
1.8.3.1
1bdc94