]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/CDir: Remove a few lines of cruft
authorJohn Spray <john.spray@inktank.com>
Thu, 6 Feb 2014 22:14:25 +0000 (22:14 +0000)
committerJohn Spray <john.spray@inktank.com>
Thu, 20 Feb 2014 17:00:32 +0000 (17:00 +0000)
Signed-off-by: John Spray <john.spray@inktank.com>
src/mds/CDir.cc

index e244175f59b3ad7d353a7b7b5d8bca95dfc9caa3..a3b4945e4d84f2e074e066710191ac1680b14600 100644 (file)
@@ -201,11 +201,8 @@ CDir::CDir(CInode *in, frag_t fg, MDCache *mdcache, bool auth) :
   request_pins = 0;
 
   nested_anchors = 0;
-
-  //hack_num_accessed = -1;
   
   dir_rep = REP_NONE;
-  //dir_rep = REP_ALL;      // hack: to wring out some bugs! FIXME FIXME
 }
 
 /**
@@ -1742,7 +1739,6 @@ void CDir::_omap_fetched(bufferlist& hdrbl, map<string, bufferlist>& omap,
   }
 
   //cache->mds->logger->inc("newin", num_new_inodes_loaded);
-  //hack_num_accessed = 0;
 
   if (purged_any)
     log_mark_dirty();