Whamcloud - gitweb
LU-292 srv_n_queued_reqs is screwed up by ptlrpc_unregister_service
[fs/lustre-release.git] / lustre / ptlrpc / service.c
index 3064cb8..0513730 100644 (file)
@@ -2695,7 +2695,6 @@ int ptlrpc_unregister_service(struct ptlrpc_service *service)
 
                 req = ptlrpc_server_request_get(service, 1);
                 cfs_list_del(&req->rq_list);
-                service->srv_n_queued_reqs--;
                 service->srv_n_active_reqs++;
                 ptlrpc_hpreq_fini(req);
                 ptlrpc_server_finish_request(service, req);