[Devel] [PATCH RHEL8 COMMIT] ploop: resurrect ploop_resume()

Konstantin Khorenko khorenko at virtuozzo.com
Thu Jul 15 17:22:47 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.56
------>
commit 8e666b9f1acfe59778192cf7bba2c6fca451c4b1
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Thu Jul 15 17:20:24 2021 +0300

    ploop: resurrect ploop_resume()
    
    It's used in the code:
    
    static struct target_type ploop_target = {
            ...
            .resume = ploop_resume,
            ...
    }
    
    Fixes: 21ccc0374265 ("ploop: Use down_write() in ploop_set_suspended()")
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 drivers/md/dm-ploop-target.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/md/dm-ploop-target.c b/drivers/md/dm-ploop-target.c
index c0fa9b973ab9..10c124690b29 100644
--- a/drivers/md/dm-ploop-target.c
+++ b/drivers/md/dm-ploop-target.c
@@ -502,6 +502,9 @@ static int ploop_preresume(struct dm_target *ti)
 	}
 	return ret;
 }
+static void ploop_resume(struct dm_target *ti)
+{
+}
 
 /*----------------------------------------------------------------*/
 


More information about the Devel mailing list