]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: ldlm: ldlm_lib.c removed unecessary space after function name
authorAnil Belur <askb23@gmail.com>
Thu, 19 Jun 2014 16:01:48 +0000 (02:01 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:23:53 +0000 (17:23 -0700)
- this fixes "WARNING: space prohibited between function name and open
  parenthesis '("

Signed-off-by: Anil Belur <askb23@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_lib.c

index 5d69af5ad87c8816ed70a94194fb03f66ac9c9c2..d8ad808fc8dc7ab6604f9e7a2b0fe41ddc8bc2fc 100644 (file)
@@ -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;