mirror of
https://github.com/ceph/ceph
synced 2025-03-06 00:10:04 +00:00
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:
parent
30636b3ec7
commit
807f4eb8be
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user