]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: rename: only add target to stray if destdn is a primary
authorSage Weil <sage.weil@dreamhost.com>
Tue, 7 Jun 2011 16:49:04 +0000 (09:49 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 7 Jun 2011 16:49:04 +0000 (09:49 -0700)
commit7770e1c6267cea7853a88eae9c621d4bf9ebe34a
treea925c517004aa967efff97e3f69f6cab340be781
parentdf7f8954c3a2279328ba28911eaab935a889bda8
mds: rename: only add target to stray if destdn is a primary

Only add target into the stray dir if we are renaming over a primary
dentry.  (Otherwise we aren't moving the target.)

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mds/Server.cc