From: Matan Breizman Date: Sun, 7 Apr 2024 12:25:09 +0000 (+0000) Subject: crimson/osd/object_context_loader: explicit with_head_obc call X-Git-Tag: v20.0.0~2065^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=09537e174f20722626da35c584eb6026de79b8a6;p=ceph.git crimson/osd/object_context_loader: explicit with_head_obc call No change in behavior, improved readability Signed-off-by: Matan Breizman --- diff --git a/src/crimson/osd/object_context_loader.cc b/src/crimson/osd/object_context_loader.cc index 699f1c4728d46..158c61ee5c43e 100644 --- a/src/crimson/osd/object_context_loader.cc +++ b/src/crimson/osd/object_context_loader.cc @@ -41,7 +41,7 @@ using crimson::common::local_conf; { LOG_PREFIX(ObjectContextLoader::with_clone_obc); assert(!oid.is_head()); - return with_obc( + return with_head_obc( oid.get_head(), [FNAME, oid, func=std::move(func), this](auto head, auto) mutable -> load_obc_iertr::future<> {