[RH7,1/2] ploop: Rename label in kaio_fsync_thread()

Submitted by Kirill Tkhai on Sept. 23, 2020, 4:12 p.m.

Details

Message ID 160087753964.244552.5680734485076500453.stgit@localhost.localdomain
State New
Series "Series without cover letter"
Headers show

Commit Message

Kirill Tkhai Sept. 23, 2020, 4:12 p.m.
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 a60b18742dd5..c2b7e8feaedf 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);