Commit 0ae015be authored by Hema Prathaban's avatar Hema Prathaban Committed by Greg Kroah-Hartman

staging: lustre: lustre: ptlrpc: Fix requires space

Fix checkpatch.pl issues spaces required.
Signed-off-by: default avatarHema Prathaban <hemaklnce@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 459d3236
...@@ -267,7 +267,7 @@ static void ptlrpc_at_adj_service(struct ptlrpc_request *req, ...@@ -267,7 +267,7 @@ static void ptlrpc_at_adj_service(struct ptlrpc_request *req,
if (oldse != 0) if (oldse != 0)
CDEBUG(D_ADAPTTO, "The RPC service estimate for %s ptl %d " CDEBUG(D_ADAPTTO, "The RPC service estimate for %s ptl %d "
"has changed from %d to %d\n", "has changed from %d to %d\n",
req->rq_import->imp_obd->obd_name,req->rq_request_portal, req->rq_import->imp_obd->obd_name, req->rq_request_portal,
oldse, at_get(&at->iat_service_estimate[idx])); oldse, at_get(&at->iat_service_estimate[idx]));
} }
...@@ -2132,7 +2132,7 @@ int ptlrpc_set_wait(struct ptlrpc_request_set *set) ...@@ -2132,7 +2132,7 @@ int ptlrpc_set_wait(struct ptlrpc_request_set *set)
* interrupts are allowed. Wait until all * interrupts are allowed. Wait until all
* complete, or an in-flight req times out. * complete, or an in-flight req times out.
*/ */
lwi = LWI_TIMEOUT(cfs_time_seconds(timeout? timeout : 1), lwi = LWI_TIMEOUT(cfs_time_seconds(timeout ? timeout : 1),
ptlrpc_expired_set, set); ptlrpc_expired_set, set);
rc = l_wait_event(set->set_waitq, ptlrpc_check_set(NULL, set), &lwi); rc = l_wait_event(set->set_waitq, ptlrpc_check_set(NULL, set), &lwi);
...@@ -2186,7 +2186,7 @@ int ptlrpc_set_wait(struct ptlrpc_request_set *set) ...@@ -2186,7 +2186,7 @@ int ptlrpc_set_wait(struct ptlrpc_request_set *set)
} }
if (set->set_interpret != NULL) { if (set->set_interpret != NULL) {
int (*interpreter)(struct ptlrpc_request_set *set,void *,int) = int (*interpreter)(struct ptlrpc_request_set *set, void *, int) =
set->set_interpret; set->set_interpret;
rc = interpreter (set, set->set_arg, rc); rc = interpreter (set, set->set_arg, rc);
} else { } else {
...@@ -2222,7 +2222,7 @@ static void __ptlrpc_free_req(struct ptlrpc_request *request, int locked) ...@@ -2222,7 +2222,7 @@ static void __ptlrpc_free_req(struct ptlrpc_request *request, int locked)
} }
LASSERTF(!request->rq_receiving_reply, "req %p\n", request); LASSERTF(!request->rq_receiving_reply, "req %p\n", request);
LASSERTF(request->rq_rqbd == NULL, "req %p\n",request);/* client-side */ LASSERTF(request->rq_rqbd == NULL, "req %p\n", request);/* client-side */
LASSERTF(list_empty(&request->rq_list), "req %p\n", request); LASSERTF(list_empty(&request->rq_list), "req %p\n", request);
LASSERTF(list_empty(&request->rq_set_chain), "req %p\n", request); LASSERTF(list_empty(&request->rq_set_chain), "req %p\n", request);
LASSERTF(list_empty(&request->rq_exp_list), "req %p\n", request); LASSERTF(list_empty(&request->rq_exp_list), "req %p\n", request);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment