]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix parent check in MDCache::eval_remote
authorJohn Spray <john.spray@redhat.com>
Wed, 25 Feb 2015 10:55:42 +0000 (10:55 +0000)
committerJohn Spray <john.spray@redhat.com>
Fri, 20 Mar 2015 12:32:47 +0000 (12:32 +0000)
commit3a0caf9bbb5327bc09d1b8fdfec61625982489a7
tree875612898884cd76958b8abb0b96bd19aa9f1e0b
parent91867b2b74a7f9d3d38fb4714802bab03428be7b
mds: fix parent check in MDCache::eval_remote

This code path wasn't touched until the change
in "mds/Server: fix stray reintegration".  Now we
see that it will crash in fsstress in some circumstances
when the client is doing a link operation, where
we are checking the projected linkage on the DN
before going into this function, but not the projected
parenthood of the inode.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDCache.cc