]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/.../object_context: drop unused maybe_get_excl
authorSamuel Just <sjust@redhat.com>
Wed, 19 Jun 2024 04:09:04 +0000 (21:09 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 24 Jun 2024 00:53:53 +0000 (17:53 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/object_context.h

index c8349e4fc5c661e8e3c79822752955618ce47c6b..7a31cc11fe8853c0b83bf3066bc179e8c5c87cf3 100644 (file)
@@ -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;