]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix stray reintegration check in handle_client_rename
authorSage Weil <sage@inktank.com>
Wed, 3 Oct 2012 15:23:08 +0000 (08:23 -0700)
committerSage Weil <sage@inktank.com>
Wed, 3 Oct 2012 15:23:08 +0000 (08:23 -0700)
commit9cabbb26c19ba7002b11336cff60757054b0b71a
tree28ba9fc5d62cba595b5c18a7bf595375104344a4
parente8df6a74cae66accb6682129c9c5ad33797f458c
mds: fix stray reintegration check in handle_client_rename

The stray reintegration generates a source path that will be rooted in a
(possibly remote) MDS's MDSDIR; adjust this check accordingly.  This is a
holdover from way back when the straydir was the base of the tree instead
of mdsdir.

Reported-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
src/mds/Server.cc