]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: lustre: lov: Add a space before open braces '{' in lov_request.c
authorRiccardo Lucchese <riccardo.lucchese@gmail.com>
Mon, 21 Jul 2014 10:19:05 +0000 (12:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:29:10 +0000 (12:29 -0700)
Fix the following checkpatch.pl issue in lov_request.c:
ERROR: space required before the open brace '{'

Signed-off-by: Riccardo Lucchese <riccardo.lucchese@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_request.c

index 887b4b08e6a5a3ee0c3a0f9a4370eb840185767f..e4bb02a54b0da8ed3ca3ae62d8707e280a0889a1 100644 (file)
@@ -478,7 +478,7 @@ int lov_prep_match_set(struct obd_export *exp, struct obd_info *oinfo,
                GOTO(out_set, rc = -ENOMEM);
        lockh->cookie = set->set_lockh->llh_handle.h_cookie;
 
-       for (i = 0; i < lsm->lsm_stripe_count; i++){
+       for (i = 0; i < lsm->lsm_stripe_count; i++) {
                struct lov_oinfo *loi;
                struct lov_request *req;
                obd_off start, end;
@@ -566,7 +566,7 @@ int lov_prep_cancel_set(struct obd_export *exp, struct obd_info *oinfo,
        }
        lockh->cookie = set->set_lockh->llh_handle.h_cookie;
 
-       for (i = 0; i < lsm->lsm_stripe_count; i++){
+       for (i = 0; i < lsm->lsm_stripe_count; i++) {
                struct lov_request *req;
                struct lustre_handle *lov_lockhp;
                struct lov_oinfo *loi = lsm->lsm_oinfo[i];
@@ -734,7 +734,7 @@ int lov_prep_brw_set(struct obd_export *exp, struct obd_info *oinfo,
 
        /* alloc and initialize lov request */
        shift = 0;
-       for (i = 0; i < oinfo->oi_md->lsm_stripe_count; i++){
+       for (i = 0; i < oinfo->oi_md->lsm_stripe_count; i++) {
                struct lov_oinfo *loi = NULL;
                struct lov_request *req;