From 4689073c99d8b8558e00ed42e68edd7d2ed2c8ab Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Fri, 3 Jun 2011 09:46:48 -0700 Subject: [PATCH] mds: _rename_prepaer should only journal dest if auth for it Signed-off-by: Greg Farnum --- src/mds/Server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/Server.cc b/src/mds/Server.cc index c1eceff53351c..ccccf8f0126f2 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -5185,7 +5185,7 @@ void Server::_rename_prepare(MDRequest *mdr, // add it all to the metablob // target inode - if (!linkmerge) { + if (!linkmerge && destdn->is_auth()) { if (destdnl->is_primary()) { // project snaprealm, too bufferlist snapbl; -- 2.47.3