]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: remove useless check in Migrator::export_dir 19360/head
authorYan, Zheng <zyan@redhat.com>
Wed, 22 Nov 2017 04:33:09 +0000 (12:33 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 6 Dec 2017 08:49:11 +0000 (16:49 +0800)
commitee06a16ee8c8434f75adf05c04f94607a5ec090f
tree8b7fe612866ab71e58e385c242096d3d87b7e60c
parent443fa3546593f667b01cca7466e3692223c4f226
mds: remove useless check in Migrator::export_dir

There is an assert(dest != mds->get_nodeid()) at very beginning of
the function. There also is a check for if 'dest' mds is active.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 7afe92f644c97ae1282837bc75cde0b4a8054d0f)
src/mds/Migrator.cc