diff --git a/src/mds/Server.cc b/src/mds/Server.cc index fca2ea77e23..c2001870b43 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -7327,7 +7327,8 @@ void Server::handle_client_mksnap(MDRequestRef& mdr) // allocate a snapid if (!mdr->more()->stid) { // prepare an stid - mds->snapclient->prepare_create(diri->ino(), snapname, mdr->now, + mds->snapclient->prepare_create(diri->ino(), snapname, + mdr->get_mds_stamp(), &mdr->more()->stid, &mdr->more()->snapidbl, new C_MDS_RetryRequest(mds->mdcache, mdr)); return;