[Devel] [PATCH RHEL8 COMMIT] ploop: drop ploop_resume() and its usage

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jul 19 15:29:55 MSK 2021


The commit is pushed to "branch-rh8-4.18.0-240.1.1.vz8.5.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-240.1.1.vz8.5.57
------>
commit 03fadb5f085ecf72b76e8b4997ccd5c7fb0f9371
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date:   Mon Jul 19 15:29:54 2021 +0300

    ploop: drop ploop_resume() and its usage
    
    Also, remove unused function ploop_resume().
    
    v2: Remove ".preresume =    "
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 drivers/md/dm-ploop-target.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/md/dm-ploop-target.c b/drivers/md/dm-ploop-target.c
index 10c124690b29..7e04993084b7 100644
--- a/drivers/md/dm-ploop-target.c
+++ b/drivers/md/dm-ploop-target.c
@@ -502,9 +502,6 @@ static int ploop_preresume(struct dm_target *ti)
 	}
 	return ret;
 }
-static void ploop_resume(struct dm_target *ti)
-{
-}
 
 /*----------------------------------------------------------------*/
 
@@ -521,7 +518,6 @@ static struct target_type ploop_target = {
 	.presuspend_undo = ploop_presuspend_undo,
 	.postsuspend = ploop_postsuspend,
 	.preresume = ploop_preresume,
-	.resume = ploop_resume,
 	.clone_and_map_rq = ploop_clone_and_map,
 	.status = ploop_status,
 };


More information about the Devel mailing list