summaryrefslogtreecommitdiffstats
path: root/src/mds/Server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds/Server.cc')
-rw-r--r--src/mds/Server.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds/Server.cc b/src/mds/Server.cc
index c7953c7f1bd..556c0f07776 100644
--- a/src/mds/Server.cc
+++ b/src/mds/Server.cc
@@ -3896,8 +3896,8 @@ version_t Server::_rename_prepare_import(MDRequest *mdr, CDentry *srcdn, bufferl
srcdn->authority().first,
mdr->ls,
mdr->more()->cap_imports, updated_scatterlocks);
- srcdnl->get_inode()->filelock.clear_updated();
- srcdnl->get_inode()->nestlock.clear_updated();
+ srcdnl->get_inode()->filelock.clear_dirty();
+ srcdnl->get_inode()->nestlock.clear_dirty();
// hack: force back to !auth and clean, temporarily
srcdnl->get_inode()->state_clear(CInode::STATE_AUTH);