[Devel] [PATCH RH8 03/11] ploop: Fix comment

Kirill Tkhai ktkhai at virtuozzo.com
Fri May 21 11:46:18 MSK 2021


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>
---
 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