diff options
author | Nilesh Kokane <nilesh.kokane05@gmail.com> | 2015-10-22 22:42:43 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-24 18:57:00 -0700 |
commit | 7fc8f5a82b9082fdd738895c103b9f25ea530846 (patch) | |
tree | a179f066c97c2e2738893009301bae388d0e8e25 /drivers/staging/lustre | |
parent | 017384481135574b0efc61d0f00a3167a93f5726 (diff) | |
download | linux-7fc8f5a82b9082fdd738895c103b9f25ea530846.tar.bz2 |
Staging: lustre: lov_obd: fixed a brace coding style issue
Fixed a coding style issue.
Signed-off-by: Nilesh kokane <Nilesh.Kokane05@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r-- | drivers/staging/lustre/lustre/lov/lov_obd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/lov/lov_obd.c b/drivers/staging/lustre/lustre/lov/lov_obd.c index c3be0b5ca627..1d74d926d102 100644 --- a/drivers/staging/lustre/lustre/lov/lov_obd.c +++ b/drivers/staging/lustre/lustre/lov/lov_obd.c @@ -2101,11 +2101,10 @@ static int lov_set_info_async(const struct lu_env *env, struct obd_export *exp, } for (i = 0; i < count; i++, val = (char *)val + incr) { - if (next_id) { + if (next_id) tgt = lov->lov_tgts[((struct obd_id_info *)val)->idx]; - } else { + else tgt = lov->lov_tgts[i]; - } /* OST was disconnected */ if (!tgt || !tgt->ltd_exp) continue; |