]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: reassert_lock_with_map_lock_held() is dead
authorSamuel Just <sam.just@inktank.com>
Wed, 8 May 2013 22:47:03 +0000 (15:47 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 8 May 2013 22:47:03 +0000 (15:47 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc
src/osd/PG.h

index 6678b19e3e7e84ff0ab47adf16a5ed11adbd80a5..a7083728404fb218a27e38f52a332811ca45b5d4 100644 (file)
@@ -194,14 +194,6 @@ void PG::lock(bool no_lockdep)
   dout(30) << "lock" << dendl;
 }
 
-void PG::reassert_lock_with_map_lock_held()
-{
-  assert(_lock.is_locked());
-  osdmap_ref = osd->osdmap;
-
-  dout(30) << "reassert_lock_with_map_lock_held" << dendl;
-}
-
 std::string PG::gen_prefix() const
 {
   stringstream out;
index e611b1d046f1f030ed06e4c81ff98a65c74d8e37..686b31e343ce2a8618e738a332a4870873b23808 100644 (file)
@@ -420,9 +420,6 @@ public:
     _lock.Unlock();
   }
 
-  // assert we still have lock held, and update our map ref
-  void reassert_lock_with_map_lock_held();
-
   void assert_locked() {
     assert(_lock.is_locked());
   }