]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix MDCache::trim() with max == 0 12794/head
authorYan, Zheng <zyan@redhat.com>
Wed, 11 Jan 2017 09:14:53 +0000 (17:14 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 11 Jan 2017 09:16:45 +0000 (17:16 +0800)
commit2f5092149281faa2df58241a85c3a0638a662452
tree7c899ad266e6b81527a3aed8b3064b18345d3fcf
parent9b97554f0a4e88c6353213bb0d41054c6db44461
mds: fix MDCache::trim() with max == 0

MDCache::shutdown_pass call MDCache::trim with max == 0. If the last
dentry is non-null, MDCache::trim does nothing

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDCache.cc