]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/object_context_loader: explicit with_head_obc call
authorMatan Breizman <mbreizma@redhat.com>
Sun, 7 Apr 2024 12:25:09 +0000 (12:25 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 22 Apr 2024 08:33:28 +0000 (08:33 +0000)
No change in behavior, improved readability

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/osd/object_context_loader.cc

index 699f1c4728d4638238f2f3076b8941d587909ebe..158c61ee5c43e2428dd25ef246570178bb451a14 100644 (file)
@@ -41,7 +41,7 @@ using crimson::common::local_conf;
   {
     LOG_PREFIX(ObjectContextLoader::with_clone_obc);
     assert(!oid.is_head());
-    return with_obc<RWState::RWREAD>(
+    return with_head_obc<RWState::RWREAD>(
       oid.get_head(),
       [FNAME, oid, func=std::move(func), this](auto head, auto) mutable
       -> load_obc_iertr::future<> {