mirror of
https://github.com/ceph/ceph
synced 2024-12-14 07:25:50 +00:00
mds: rename: add missing pop_and_dirty_projected_inode calls
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
parent
569baab64b
commit
3e0352d37c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user