* fix bug with lost waiters on null dentries (e.g. mknod race)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1241 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
sageweil 2007-03-15 20:55:20 +00:00
parent db4e931284
commit 88b0b7d836

View File

@ -1859,6 +1859,11 @@ void Locker::dentry_xlock_finish(CDentry *dn, bool quiet)
// unpin dir
dn->dir->auth_unpin();
// kick waiters
list<Context*> finished;
dn->dir->take_waiting(CDir::WAIT_DNREAD, finished);
mds->queue_finished(finished);
}
/*