mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
mds: replay: save the right dir!
We were using the wrong one and breaking replay. Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
This commit is contained in:
parent
f69bc30106
commit
c1ea3a263b
@ -579,7 +579,7 @@ void EMetaBlob::replay(MDS *mds, LogSegment *logseg)
|
||||
if (dn->get_linkage()->get_inode() != in && in->get_parent_dn()) {
|
||||
dout(10) << "EMetaBlob.replay unlinking " << *in << dendl;
|
||||
if (in == renamed_diri)
|
||||
olddir = dir;
|
||||
olddir = in->get_parent_dn()->get_dir();
|
||||
in->get_parent_dn()->get_dir()->unlink_inode(in->get_parent_dn());
|
||||
}
|
||||
if (in->get_parent_dn() && in->inode.anchored != p->inode.anchored)
|
||||
|
Loading…
Reference in New Issue
Block a user