]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: remove superfluous assertion
authorYan, Zheng <zyan@redhat.com>
Sun, 28 Dec 2014 01:57:38 +0000 (09:57 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 5 Feb 2015 14:40:38 +0000 (22:40 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDCache.cc

index e4d4c8400ae8f1c891e96c7b271049a88180beb8..50439bc2164b21e9dba96d19c619538be39a47f0 100644 (file)
@@ -1856,7 +1856,7 @@ void MDCache::project_rstat_frag_to_inode(nest_info_t& rstat, nest_info_t& accou
        first = p->second.first;
        if (first > last) {
          dout(10) << " oldest old_inode is [" << first << "," << p->first << "], done." << dendl;
-         assert(p == pin->old_inodes.begin());
+         //assert(p == pin->old_inodes.begin());
          break;
        }
        if (p->first > last) {