summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 60e2aa30bb0..a514bcf1f60 100644
--- a/src/mds/Server.cc
+++ b/src/mds/Server.cc
@@ -3437,8 +3437,8 @@ void Server::handle_client_rename(MDRequest *mdr)
int client = mdr->get_client();
dout(7) << "handle_client_rename " << *req << dendl;
- filepath destpath = req->get_filepath2();
- filepath srcpath = req->get_filepath();
+ filepath destpath = req->get_filepath();
+ filepath srcpath = req->get_filepath2();
if (destpath.depth() == 0 || srcpath.depth() == 0) {
reply_request(mdr, -EINVAL);
return;