[Devel] [PATCH RHEL7 COMMIT] ploop: Rename label in kaio_fsync_thread()

Vasily Averin vvs at virtuozzo.com
Thu Sep 24 08:57:49 MSK 2020


The commit is pushed to "branch-rh7-3.10.0-1127.18.2.vz7.163.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1127.18.2.vz7.163.29
------>
commit 101bdf92e68d8bd8f1bb7d640e162f7b9043babf
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date:   Thu Sep 24 08:57:49 2020 +0300

    ploop: Rename label in kaio_fsync_thread()
    
    https://jira.sw.ru/browse/PSBM-108101
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 drivers/block/ploop/io_kaio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/block/ploop/io_kaio.c b/drivers/block/ploop/io_kaio.c
index a60b187..c2b7e8f 100644
--- a/drivers/block/ploop/io_kaio.c
+++ b/drivers/block/ploop/io_kaio.c
@@ -535,7 +535,7 @@ static int kaio_fsync_thread(void * data)
 				 */
 				WARN_ON_ONCE(io->prealloced_size);
 				preq->prealloc_size = isize;
-				goto out;
+				goto ready;
 			}
 			err = __kaio_truncate(io, io->files.file,
 					      preq->prealloc_size);
@@ -566,7 +566,7 @@ static int kaio_fsync_thread(void * data)
 				}
 			}
 		}
-out:
+ready:
 		spin_lock_irq(&plo->lock);
 		list_add_tail(&preq->list, &plo->ready_queue);
 


More information about the Devel mailing list