reencode request after setting client inst

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1007 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
sageweil 2007-01-14 21:08:15 +00:00
parent 30636b3ec7
commit 807f4eb8be

View File

@ -245,8 +245,10 @@ void Server::handle_client_request(MClientRequest *req)
dout(4) << "req " << *req << endl;
// note original client addr
if (req->get_source().is_client())
if (req->get_source().is_client()) {
req->set_client_inst( req->get_source_inst() );
req->clear_payload();
}
if (!mds->is_active()) {
dout(5) << " not active, discarding client request." << endl;