Received: by 10.223.148.5 with SMTP id 5csp7695502wrq; Thu, 18 Jan 2018 08:27:42 -0800 (PST) X-Google-Smtp-Source: ACJfBovsBjc0tClBdA7zdtrutMTlY+XffNp3EY7BzrN4vTcSTt5ha+q1TsVf1ZnAsOmw7LG9m0XW X-Received: by 10.99.178.78 with SMTP id t14mr36048604pgo.296.1516292861927; Thu, 18 Jan 2018 08:27:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516292861; cv=none; d=google.com; s=arc-20160816; b=QYCF1GfUK9Yw6uZNTVvVcp1t7gzh7rptifp5+uJ03UKsNu/Nx505RCpI/q7BlPpCdC vb5Vqtkz8wIBk2Q5s+9sz6jsjq4OcE2IQJ6YsZv5UEDfJVUaIp7eWI6Un6ksb/49i62d 8r9R4U8QNd8NvI7R6pP2jnm6d1abvCBob0xOMzHnt/1fDDcfApxcwQohm19SjCIW1p/q 6BFDdSsHVGFurBQtKHj7xVLBcSwxlRSwpsj/VO20DVP6RQJNEAJu96hjTuZgFKzCqv9m lX3KqobNOiKk0qNc+Ey3BVPJjEOVhG4ot6DdpswtH8BIr0JJoXCQ+SxyFWfHQfBv+JmG w6Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Ve3nRisoOy4cKdr5nLEmgTcwkO5arltJttOna/Mr61Y=; b=wc3VX6ovP8fGJUQbDqmR3y0LBImypzxJYewSzSUXPyJxC3dRwt7/caBaDK93+/bGHN NQ0ZFME26xDv5emHnI/cRfslOzcp+lw5AiwvHbEgToOrqBRWy53BeSe0BDfSKs1Hq4kx aWvw+MBw5MwzPqye9mS4F7CPdHWzq13ysadkBpYiJGCcKCnJgmFXVyNS8bHbO/HwE9GY kaZTgzcEAuORyUxEgKNm+rRQGnZK5w59Po2pz6SmcMzeA5LZqBa88+f3ljl9mfU5Ezw5 i9VygNm5rOA3uBtQpkPlp6UjKqF5CCYRVSy0AgfInmzlcZ9TbOUm6J+NWUbQanAhjmU4 ziJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3si2979035pgl.77.2018.01.18.08.27.28; Thu, 18 Jan 2018 08:27:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932935AbeARPwD (ORCPT + 99 others); Thu, 18 Jan 2018 10:52:03 -0500 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:50676 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754842AbeARPvw (ORCPT ); Thu, 18 Jan 2018 10:51:52 -0500 Received: from faui49man6 (faui49man6.informatik.uni-erlangen.de [131.188.42.194]) by faui40.informatik.uni-erlangen.de (Postfix) with SMTP id 679F358C5E1; Thu, 18 Jan 2018 16:51:44 +0100 (CET) Received: by faui49man6 (sSMTP sendmail emulation); Thu, 18 Jan 2018 16:51:44 +0100 From: Fabian Huegel To: Oleg Drokin , Andreas Dilger , James Simmons , Lai Siyao , "John L . Hammond" , Greg Kroah-Hartman , devel@driverdev.osuosl.org, Ben Evans , NeilBrown Cc: lustre-devel@lists.lustre.org, linux-kernel@vger.kernel.org, linux-kernel@i4.cs.fau.de, Christoph Volkert , Fabian Huegel Subject: [PATCH 2/2] staging: lustre: Align struct member identifiers Date: Thu, 18 Jan 2018 16:51:32 +0100 Message-Id: <1516290692-11642-3-git-send-email-fabian_huegel@web.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516290692-11642-1-git-send-email-fabian_huegel@web.de> References: <20180115150259.GA17991@kroah.com> <1516290692-11642-1-git-send-email-fabian_huegel@web.de> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED=-1, FREEMAIL_FROM=0.001 autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on faui40.informatik.uni-erlangen.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch properly left aligns all member identifiers in every struct defined in obd_class.h for better readability. Signed-off-by: Fabian Huegel Signed-off-by: Christoph Volkert --- drivers/staging/lustre/lustre/include/obd_class.h | 44 +++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/obd_class.h b/drivers/staging/lustre/lustre/include/obd_class.h index f517a05..531e8dd 100644 --- a/drivers/staging/lustre/lustre/include/obd_class.h +++ b/drivers/staging/lustre/lustre/include/obd_class.h @@ -145,13 +145,13 @@ void lprocfs_echo_init_vars(struct lprocfs_static_vars *lvars); /* Passed as data param to class_config_parse_llog */ struct config_llog_instance { - char *cfg_obdname; - void *cfg_instance; + char *cfg_obdname; + void *cfg_instance; struct super_block *cfg_sb; struct obd_uuid cfg_uuid; llog_cb_t cfg_callback; - int cfg_last_idx; /* for partial llog processing */ - int cfg_flags; + int cfg_last_idx; /* for partial llog processing */ + int cfg_flags; }; int class_config_parse_llog(const struct lu_env *env, struct llog_ctxt *ctxt, @@ -169,31 +169,31 @@ enum { /* list of active configuration logs */ struct config_llog_data { - struct ldlm_res_id cld_resid; + struct ldlm_res_id cld_resid; struct config_llog_instance cld_cfg; - struct list_head cld_list_chain; - atomic_t cld_refcount; + struct list_head cld_list_chain; + atomic_t cld_refcount; struct config_llog_data *cld_sptlrpc;/* depended sptlrpc log */ struct config_llog_data *cld_params; /* common parameters log */ struct config_llog_data *cld_recover;/* imperative recover log */ - struct obd_export *cld_mgcexp; + struct obd_export *cld_mgcexp; struct mutex cld_lock; - int cld_type; - unsigned int cld_stopping:1, /* - * we were told to stop - * watching - */ - cld_lostlock:1; /* lock not requeued */ - char cld_logname[0]; + int cld_type; + unsigned int cld_stopping:1, /* + * we were told to stop + * watching + */ + cld_lostlock:1; /* lock not requeued */ + char cld_logname[0]; }; struct lustre_profile { - struct list_head lp_list; - char *lp_profile; - char *lp_dt; - char *lp_md; - int lp_refs; - bool lp_list_deleted; + struct list_head lp_list; + char *lp_profile; + char *lp_dt; + char *lp_md; + int lp_refs; + bool lp_list_deleted; }; struct lustre_profile *class_get_profile(const char *prof); @@ -1544,7 +1544,7 @@ struct lwp_register_item { struct obd_export **lri_exp; register_lwp_cb lri_cb_func; void *lri_cb_data; - struct list_head lri_list; + struct list_head lri_list; char lri_name[MTI_NAME_MAXLEN]; }; -- 2.7.4