mds: Add finish callback to waiting_for_base_ino wait queue

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
This commit is contained in:
Yan, Zheng 2012-10-02 16:55:43 +08:00 committed by Sage Weil
parent 7004829c35
commit c6c6de5d0d

View File

@ -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);
}