]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
fixed cdir fetch auth_pin bug
authorsageweil <sageweil@29311d96-e01e-0410-9327-a35deaab8ce9>
Tue, 14 Aug 2007 17:50:31 +0000 (17:50 +0000)
committersageweil <sageweil@29311d96-e01e-0410-9327-a35deaab8ce9>
Tue, 14 Aug 2007 17:50:31 +0000 (17:50 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1632 29311d96-e01e-0410-9327-a35deaab8ce9

branches/sage/mds/mds/CDir.cc

index e91e1b48b84db7fac68adcfbd5119b9599c3f054..b74d99c699695986f959dee6ab3cca0b926fd95b 100644 (file)
@@ -944,6 +944,7 @@ void CDir::_fetched(bufferlist &bl)
   // mark complete, !fetching
   state_set(STATE_COMPLETE);
   state_clear(STATE_FETCHING);
+  auth_unpin();
 
   // kick waiters
   finish_waiting(WAIT_COMPLETE, 0);