From d631951a3a53289c495d92d541645f49b6687521 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Wed, 25 Jun 2025 12:55:06 +0200 Subject: [PATCH] librbd/migration/QCOWFormat: rename handle_read_cluster() ... to handle_read_clusters() as it's a callback for read_clusters(). Signed-off-by: Ilya Dryomov (cherry picked from commit 9d9c73435341f98cecf0a450357408f8d49624fa) --- src/librbd/migration/QCOWFormat.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/librbd/migration/QCOWFormat.cc b/src/librbd/migration/QCOWFormat.cc index e62d3fffdd555..9e2565587690f 100644 --- a/src/librbd/migration/QCOWFormat.cc +++ b/src/librbd/migration/QCOWFormat.cc @@ -636,7 +636,7 @@ private: [this, cct=qcow_format->m_image_ctx->cct, image_offset=cluster_extent.image_offset, image_length=cluster_extent.cluster_length, ctx=read_ctx](int r) { - handle_read_cluster(cct, r, image_offset, image_length, ctx); + handle_read_clusters(cct, r, image_offset, image_length, ctx); }); if (cluster_extent.cluster_offset == 0) { @@ -657,8 +657,8 @@ private: delete this; } - void handle_read_cluster(CephContext* cct, int r, uint64_t image_offset, - uint64_t image_length, Context* on_finish) const { + void handle_read_clusters(CephContext* cct, int r, uint64_t image_offset, + uint64_t image_length, Context* on_finish) const { // NOTE: treat as static function, expect object has been deleted ldout(cct, 20) << "r=" << r << ", " -- 2.39.5