]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: drop bad assert
authorSage Weil <sage@newdream.net>
Thu, 30 Sep 2010 17:54:23 +0000 (10:54 -0700)
committerSage Weil <sage@newdream.net>
Thu, 30 Sep 2010 17:54:58 +0000 (10:54 -0700)
Introduced by f1921c3a952726e025773979a7597de793897058.  Should probably
audit this code.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/Locker.cc

index 77668053bbc32312fc44cf7291e1f5ed339ba391..2ff15208460d226b400a77a1952a352a67880425 100644 (file)
@@ -3135,7 +3135,7 @@ void Locker::simple_xlock(SimpleLock *lock)
 
   if (!gather) {
     lock->set_state(LOCK_PREXLOCK);
-    assert("shouldn't be called if we are already xlockable" == 0);
+    //assert("shouldn't be called if we are already xlockable" == 0);
   }
 }