mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
* mds bug in Server.cc
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1381 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
54cf315382
commit
d1de85df62
@ -915,7 +915,8 @@ void Server::handle_client_stat(MDRequest *mdr)
|
||||
if (ref->is_dir() &&
|
||||
mask & INODE_MASK_MTIME) rdlocks.insert(&ref->dirlock);
|
||||
|
||||
mds->locker->acquire_locks(mdr, rdlocks, wrlocks, xlocks);
|
||||
if (!mds->locker->acquire_locks(mdr, rdlocks, wrlocks, xlocks))
|
||||
return;
|
||||
|
||||
// reply
|
||||
dout(10) << "reply to stat on " << *req << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user