Commit 7fc8f5a8 authored by Nilesh Kokane's avatar Nilesh Kokane Committed by Greg Kroah-Hartman

Staging: lustre: lov_obd: fixed a brace coding style issue

Fixed a coding style issue.
Signed-off-by: default avatarNilesh kokane <Nilesh.Kokane05@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 01738448
...@@ -2101,11 +2101,10 @@ static int lov_set_info_async(const struct lu_env *env, struct obd_export *exp, ...@@ -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) { 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]; tgt = lov->lov_tgts[((struct obd_id_info *)val)->idx];
} else { else
tgt = lov->lov_tgts[i]; tgt = lov->lov_tgts[i];
}
/* OST was disconnected */ /* OST was disconnected */
if (!tgt || !tgt->ltd_exp) if (!tgt || !tgt->ltd_exp)
continue; continue;
......
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