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

Submitted by Vasily Averin on Sept. 24, 2020, 5:57 a.m.

Details

Message ID 202009240557.08O5vnTU018759@vz7build.vvs.sw.ru
State New
Series "Series without cover letter"
Headers show

Commit Message

Vasily Averin Sept. 24, 2020, 5:57 a.m.
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@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@virtuozzo.com>
---
 drivers/block/ploop/io_kaio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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