]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix Locker::_do_null_snapflush
authorYan, Zheng <zyan@redhat.com>
Tue, 14 Apr 2015 04:02:49 +0000 (12:02 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 21 Apr 2015 05:56:17 +0000 (13:56 +0800)
commitc9fe13fddcc8ca6587150d23366a6a5defcafe6d
treebe31173b3eb30d6e298d6a766c52076af81886a5
parentfa34e04587b8de1e8bc458a4888d0a8b8b7e1d61
mds: fix Locker::_do_null_snapflush

the snapid check in Locker::_do_null_snapflush() prevents us from
flushing old snap inodes. The check does not make sense.

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