Commit 05dca373 authored by Anil Belur's avatar Anil Belur Committed by Greg Kroah-Hartman

staging: lustre: ldlm: ldlm_lib.c removed unecessary space after function name

- this fixes "WARNING: space prohibited between function name and open
  parenthesis '("
Signed-off-by: default avatarAnil Belur <askb23@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b7cfd6d4
......@@ -510,7 +510,7 @@ int client_connect_import(const struct lu_env *env,
rc = ptlrpc_connect_import(imp);
if (rc != 0) {
LASSERT (imp->imp_state == LUSTRE_IMP_DISCON);
LASSERT(imp->imp_state == LUSTRE_IMP_DISCON);
GOTO(out_ldlm, rc);
}
LASSERT(*exp != NULL && (*exp)->exp_connection);
......@@ -668,25 +668,25 @@ void target_send_reply(struct ptlrpc_request *req, int rc, int fail_id)
rs = req->rq_reply_state;
if (rs == NULL || !rs->rs_difficult) {
/* no notifiers */
target_send_reply_msg (req, rc, fail_id);
target_send_reply_msg(req, rc, fail_id);
return;
}
/* must be an export if locks saved */
LASSERT (req->rq_export != NULL);
LASSERT(req->rq_export != NULL);
/* req/reply consistent */
LASSERT(rs->rs_svcpt == svcpt);
/* "fresh" reply */
LASSERT (!rs->rs_scheduled);
LASSERT (!rs->rs_scheduled_ever);
LASSERT (!rs->rs_handled);
LASSERT (!rs->rs_on_net);
LASSERT (rs->rs_export == NULL);
LASSERT (list_empty(&rs->rs_obd_list));
LASSERT (list_empty(&rs->rs_exp_list));
exp = class_export_get (req->rq_export);
LASSERT(!rs->rs_scheduled);
LASSERT(!rs->rs_scheduled_ever);
LASSERT(!rs->rs_handled);
LASSERT(!rs->rs_on_net);
LASSERT(rs->rs_export == NULL);
LASSERT(list_empty(&rs->rs_obd_list));
LASSERT(list_empty(&rs->rs_exp_list));
exp = class_export_get(req->rq_export);
/* disable reply scheduling while I'm setting up */
rs->rs_scheduled = 1;
......
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