]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: only create up renamed diri frag subtrees if they differ from parent
authorSage Weil <sage@newdream.net>
Tue, 26 Jul 2011 17:52:49 +0000 (10:52 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Wed, 27 Jul 2011 03:44:17 +0000 (20:44 -0700)
commit699bbe18963317caf16678a2f4f2f3cdbfc30a23
treedc7d6fea5243936724cf9edc3a298143a3e85a4d
parent79b8374de2c5c0b9ce8bd645a292c2f21b3b8df7
mds: only create up renamed diri frag subtrees if they differ from parent

Commit 00ec86a2041 opens up subtrees with CDIR_AUTH_UNDEF blindly for any
renamed dir inode.  This is correct on the rename target, but not on a
random observer, where we end up with the parent and child having the
same auth.  Oddly the comment seemed to have it right.  Fix the code.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/journal.cc