summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-06-10 20:53:24 +0800
committerYan, Zheng <zheng.z.yan@intel.com>2013-06-17 19:14:05 +0800
commit29e6597e9f34d3494a2e43582a42fde72ae2b137 (patch)
tree3571a996f07380a06674bf6690da217ea885c1c1
parent18b9e63b4df643e1f2fb8f17416089e5d970bf60 (diff)
downloadceph-29e6597e9f34d3494a2e43582a42fde72ae2b137.tar.gz
mds: fix frozen check in Server::try_open_auth_dirfrag()
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
-rw-r--r--src/mds/Server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/Server.cc b/src/mds/Server.cc
index 253c56d7a37..c3162e7fe2c 100644
--- a/src/mds/Server.cc
+++ b/src/mds/Server.cc
@@ -2204,7 +2204,7 @@ CDir* Server::try_open_auth_dirfrag(CInode *diri, frag_t fg, MDRequest *mdr)
}
// not open and inode frozen?
- if (!dir && diri->is_frozen_dir()) {
+ if (!dir && diri->is_frozen()) {
dout(10) << "try_open_auth_dirfrag: dir inode is frozen, waiting " << *diri << dendl;
assert(diri->get_parent_dir());
diri->get_parent_dir()->add_waiter(CDir::WAIT_UNFREEZE, new C_MDS_RetryRequest(mdcache, mdr));