diff mbox

[03/12] mds: Add finish callback to waiting_for_base_ino wait queue

Message ID 1349168152-13281-3-git-send-email-zheng.z.yan@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yan, Zheng Oct. 2, 2012, 8:55 a.m. UTC
From: "Yan, Zheng" <zheng.z.yan@intel.com>

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
---
 src/mds/MDCache.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc
index 1a93d9b..1348b3e 100644
--- a/src/mds/MDCache.cc
+++ b/src/mds/MDCache.cc
@@ -8341,8 +8341,8 @@  void MDCache::discover_base_ino(inodeno_t want_ino,
     discover_info_t& d = _create_discover(from);
     d.ino = want_ino;
     _send_discover(d);
-    waiting_for_base_ino[from][want_ino].push_back(onfinish);
   }
+  waiting_for_base_ino[from][want_ino].push_back(onfinish);
 }