]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: dont be stupid
authorSage Weil <sage@newdream.net>
Thu, 10 Apr 2008 23:31:37 +0000 (16:31 -0700)
committerSage Weil <sage@newdream.net>
Thu, 10 Apr 2008 23:31:37 +0000 (16:31 -0700)
src/mds/Locker.cc

index 94899306a89fc2f14749857d3e5cfbde69bc49db..40aa540ac71680eee08e82716247420df9defb27 100644 (file)
@@ -1459,8 +1459,6 @@ bool Locker::simple_rdlock_try(SimpleLock *lock, Context *con)
   if (lock->can_rdlock(0)) 
     return true;
   
-  assert(!lock->get_parent()->is_auth());
-
   // wait!
   dout(7) << "simple_rdlock_try waiting on " << *lock << " on " << *lock->get_parent() << dendl;
   if (con) lock->add_waiter(SimpleLock::WAIT_RD, con);