Commit 24e29099 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre/mgc: Fix style vs open parenthesis alignment

This mostly fixes checkpatch complaints about
"Alignment should match open parenthesis"
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 22e0bc6a
...@@ -245,10 +245,10 @@ struct config_llog_data *do_config_log_add(struct obd_device *obd, ...@@ -245,10 +245,10 @@ struct config_llog_data *do_config_log_add(struct obd_device *obd,
return cld; return cld;
} }
static struct config_llog_data *config_recover_log_add(struct obd_device *obd, static struct config_llog_data *
char *fsname, config_recover_log_add(struct obd_device *obd, char *fsname,
struct config_llog_instance *cfg, struct config_llog_instance *cfg,
struct super_block *sb) struct super_block *sb)
{ {
struct config_llog_instance lcfg = *cfg; struct config_llog_instance lcfg = *cfg;
struct config_llog_data *cld; struct config_llog_data *cld;
...@@ -266,8 +266,9 @@ static struct config_llog_data *config_recover_log_add(struct obd_device *obd, ...@@ -266,8 +266,9 @@ static struct config_llog_data *config_recover_log_add(struct obd_device *obd,
return cld; return cld;
} }
static struct config_llog_data *config_params_log_add(struct obd_device *obd, static struct config_llog_data *
struct config_llog_instance *cfg, struct super_block *sb) config_params_log_add(struct obd_device *obd,
struct config_llog_instance *cfg, struct super_block *sb)
{ {
struct config_llog_instance lcfg = *cfg; struct config_llog_instance lcfg = *cfg;
struct config_llog_data *cld; struct config_llog_data *cld;
...@@ -454,16 +455,16 @@ int lprocfs_mgc_rd_ir_state(struct seq_file *m, void *data) ...@@ -454,16 +455,16 @@ int lprocfs_mgc_rd_ir_state(struct seq_file *m, void *data)
ocd = &imp->imp_connect_data; ocd = &imp->imp_connect_data;
seq_printf(m, "imperative_recovery: %s\n", seq_printf(m, "imperative_recovery: %s\n",
OCD_HAS_FLAG(ocd, IMP_RECOV) ? "ENABLED" : "DISABLED"); OCD_HAS_FLAG(ocd, IMP_RECOV) ? "ENABLED" : "DISABLED");
seq_printf(m, "client_state:\n"); seq_printf(m, "client_state:\n");
spin_lock(&config_list_lock); spin_lock(&config_list_lock);
list_for_each_entry(cld, &config_llog_list, cld_list_chain) { list_for_each_entry(cld, &config_llog_list, cld_list_chain) {
if (!cld->cld_recover) if (!cld->cld_recover)
continue; continue;
seq_printf(m, " - { client: %s, nidtbl_version: %u }\n", seq_printf(m, " - { client: %s, nidtbl_version: %u }\n",
cld->cld_logname, cld->cld_logname,
cld->cld_recover->cld_cfg.cfg_last_idx); cld->cld_recover->cld_cfg.cfg_last_idx);
} }
spin_unlock(&config_list_lock); spin_unlock(&config_list_lock);
...@@ -555,8 +556,7 @@ static int mgc_requeue_thread(void *data) ...@@ -555,8 +556,7 @@ static int mgc_requeue_thread(void *data)
spin_lock(&config_list_lock); spin_lock(&config_list_lock);
rq_state &= ~RQ_PRECLEANUP; rq_state &= ~RQ_PRECLEANUP;
list_for_each_entry(cld, &config_llog_list, list_for_each_entry(cld, &config_llog_list, cld_list_chain) {
cld_list_chain) {
if (!cld->cld_lostlock) if (!cld->cld_lostlock)
continue; continue;
...@@ -966,8 +966,8 @@ static int mgc_target_register(struct obd_export *exp, ...@@ -966,8 +966,8 @@ static int mgc_target_register(struct obd_export *exp,
} }
static int mgc_set_info_async(const struct lu_env *env, struct obd_export *exp, static int mgc_set_info_async(const struct lu_env *env, struct obd_export *exp,
u32 keylen, void *key, u32 vallen, u32 keylen, void *key, u32 vallen,
void *val, struct ptlrpc_request_set *set) void *val, struct ptlrpc_request_set *set)
{ {
int rc = -EINVAL; int rc = -EINVAL;
......
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