]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix rename common parent checks
authorSage Weil <sage@newdream.net>
Fri, 27 Mar 2009 17:53:00 +0000 (10:53 -0700)
committerSage Weil <sage@newdream.net>
Fri, 27 Mar 2009 17:53:00 +0000 (10:53 -0700)
commitd37034ebb5db375e290aaacda5c18e2adf278f9a
tree25b0358019aa645700c602d12130b353628138a5
parent1b7cc4a28a43e8b822114707679760083e013f7a
mds: fix rename common parent checks

Rewrite common parent logic in terms of base inodes, since the
traces may initially be empty, and we may be renaming items in the
root directory.

Also look at _projected_ parents, not current parents.
src/mds/CInode.cc
src/mds/CInode.h
src/mds/Server.cc
src/mds/snap.cc