]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: save projected path into inode_t::stray_prior_path 16150/head
authorYan, Zheng <zyan@redhat.com>
Wed, 21 Jun 2017 07:48:54 +0000 (15:48 +0800)
committerVicente Cheng <freeze.bilsted@gmail.com>
Thu, 6 Jul 2017 02:48:37 +0000 (10:48 +0800)
commit6b6620ffefc6481d629e19cd9a6c50b39dba222c
tree88900ce9563db7ed7d63461f0256fb75b5aa11eb
parent66dbf9beef04988dbd3653591e51afa6d84e3990
mds: save  projected path into inode_t::stray_prior_path

Otherwise, path string like #10000000000/xxx may get saved into
inode_t::stray_prior_path.

Fixes: http://tracker.ceph.com/issues/20340
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit ba7472cbf2a3147136a31b611f7b88f883be5f6d)

Conflicts:
src/mds/Server.cc
          - remove counter `change_attr` because it does not involved
src/mds/Server.cc