]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds/CDir: cleanup in the lookup_exact_snap()
authorhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 1 Feb 2018 09:13:56 +0000 (17:13 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Sat, 17 Feb 2018 13:22:49 +0000 (21:22 +0800)
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/mds/CDir.cc

index bc01909bd131b59db0389041f94cc67183c7f788..f3b3a56e420e99915e6102430e32d0c93019951b 100644 (file)
@@ -313,6 +313,7 @@ CDentry *CDir::lookup(std::string_view name, snapid_t snap)
 }
 
 CDentry *CDir::lookup_exact_snap(std::string_view name, snapid_t last) {
+  dout(20) << __func__ << " (" << last << ", '" << name << "')" << dendl;
   auto p = items.find(dentry_key_t(last, name, inode->hash_dentry_name(name)));
   if (p == items.end())
     return NULL;