From: Samuel Just Date: Wed, 19 Jun 2024 04:09:04 +0000 (-0700) Subject: crimson/.../object_context: drop unused maybe_get_excl X-Git-Tag: testing/wip-rishabh-testing-20240628.135345-debug~48^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=aaeb250389904d8995752de92ebb2ab674637551;p=ceph-ci.git crimson/.../object_context: drop unused maybe_get_excl Signed-off-by: Samuel Just --- diff --git a/src/crimson/osd/object_context.h b/src/crimson/osd/object_context.h index c8349e4fc5c..7a31cc11fe8 100644 --- a/src/crimson/osd/object_context.h +++ b/src/crimson/osd/object_context.h @@ -310,9 +310,6 @@ public: assert(recovery_read_marker); recovery_read_marker = false; } - bool maybe_get_excl() { - return lock.try_lock_for_excl(); - } }; using ObjectContextRef = ObjectContext::Ref;