[Devel] [PATCH RHEL8 COMMIT] ploop: Fix comment

Konstantin Khorenko khorenko at virtuozzo.com
Mon May 24 12:57:19 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.31
------>
commit 919e4581e66feee8e0f7dbf6b6430ef43c939d80
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date:   Mon May 24 12:57:19 2021 +0300

    ploop: Fix comment
    
    This comment was about both ploop_map() and kwork,
    while only ploop_map() is mentioned. Fix it.
    
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
    
    =====================
    Patchset description:
    
    ploop: Truncate top delta from kernel
    
    and refactoring at tail.
    
    https://jira.sw.ru/browse/PSBM-129278
    
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 drivers/md/dm-ploop-map.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/dm-ploop-map.c b/drivers/md/dm-ploop-map.c
index faebdf2d8a50..ea5a0971ce61 100644
--- a/drivers/md/dm-ploop-map.c
+++ b/drivers/md/dm-ploop-map.c
@@ -1592,7 +1592,7 @@ void cleanup_backup(struct ploop *ploop)
 	LIST_HEAD(pio_list);
 
 	spin_lock_irq(&ploop->pb_lock);
-	/* Take bat_rwlock for visability in ploop_map() */
+	/* Take bat_rwlock for visability in kwork */
 	write_lock(&ploop->bat_rwlock);
 	pb->alive = false;
 	write_unlock(&ploop->bat_rwlock);


More information about the Devel mailing list