summaryrefslogtreecommitdiffstats
path: root/src/mds/journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds/journal.cc')
-rw-r--r--src/mds/journal.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mds/journal.cc b/src/mds/journal.cc
index 8cde8cb94c0..c2f4844e9ec 100644
--- a/src/mds/journal.cc
+++ b/src/mds/journal.cc
@@ -360,7 +360,8 @@ void EMetaBlob::replay(MDS *mds, LogSegment *logseg)
if (lump.is_dirty()) {
dir->_mark_dirty(logseg);
- dir->get_inode()->filelock.set_updated();
+ dir->get_inode()->filelock.mark_dirty();
+ dir->get_inode()->nestlock.mark_dirty();
}
if (lump.is_new())
dir->mark_new(logseg);