mds: rename: add missing pop_and_dirty_projected_inode calls

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
Sage Weil 2011-06-07 13:21:46 -07:00
parent 569baab64b
commit 3e0352d37c

View File

@ -5364,8 +5364,11 @@ void Server::_rename_apply(MDRequest *mdr, CDentry *srcdn, CDentry *destdn, CDen
if (destdn->is_auth())
destdn->mark_dirty(mdr->more()->pvmap[destdn], mdr->ls);
// in
if (in->is_auth())
in->pop_and_dirty_projected_inode(mdr->ls);
} else {
dout(10) << "merging remote onto primary link" << dendl;
oldin->pop_and_dirty_projected_inode(mdr->ls);
}
} else { // primary
if (linkmerge) {