diff mbox

[16/32] lockd: fix some weird indentation

Message ID 20170509092010.30752-17-hch@lst.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christoph Hellwig May 9, 2017, 9:19 a.m. UTC
Remove double indentation of a few struct rpc_version and
struct rpc_program instance.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 fs/lockd/clntxdr.c | 22 +++++++++++-----------
 fs/lockd/mon.c     | 16 ++++++++--------
 2 files changed, 19 insertions(+), 19 deletions(-)

Comments

Trond Myklebust May 9, 2017, 12:43 p.m. UTC | #1
On Tue, 2017-05-09 at 11:19 +0200, Christoph Hellwig wrote:
> Remove double indentation of a few struct rpc_version and

> struct rpc_program instance.

> 

> Signed-off-by: Christoph Hellwig <hch@lst.de>

> ---

>  fs/lockd/clntxdr.c | 22 +++++++++++-----------

>  fs/lockd/mon.c     | 16 ++++++++--------

>  2 files changed, 19 insertions(+), 19 deletions(-)

> 

> diff --git a/fs/lockd/clntxdr.c b/fs/lockd/clntxdr.c

> index cccf5c2ffadb..7bc54162f5bf 100644

> --- a/fs/lockd/clntxdr.c

> +++ b/fs/lockd/clntxdr.c

> @@ -601,15 +601,15 @@ static const struct rpc_procinfo

> nlm_procedures[] = {

>  };

>  

>  static const struct rpc_version	nlm_version1 = {

> -		.number		= 1,

> -		.nrprocs	= ARRAY_SIZE(nlm_procedures),

> -		.procs		= nlm_procedures,

> +	.number		= 1,

> +	.nrprocs	= ARRAY_SIZE(nlm_procedures),

> +	.procs		= nlm_procedures,

>  };

>  

>  static const struct rpc_version	nlm_version3 = {

> -		.number		= 3,

> -		.nrprocs	= ARRAY_SIZE(nlm_procedures),

> -		.procs		= nlm_procedures,

> +	.number		= 3,

> +	.nrprocs	= ARRAY_SIZE(nlm_procedures),

> +	.procs		= nlm_procedures,

>  };

>  

>  static const struct rpc_version	*nlm_versions[] = {

> @@ -623,9 +623,9 @@ static const struct rpc_version	*nlm_versi

> ons[] = {

>  static struct rpc_stat		nlm_rpc_stats;

>  

>  const struct rpc_program	nlm_program = {

> -		.name		= "lockd",

> -		.number		= NLM_PROGRAM,

> -		.nrvers		= ARRAY_SIZE(nlm_versions),

> -		.version	= nlm_versions,

> -		.stats		= &nlm_rpc_stats,

> +	.name		= "lockd",

> +	.number		= NLM_PROGRAM,

> +	.nrvers		= ARRAY_SIZE(nlm_versions),

> +	.version	= nlm_versions,

> +	.stats		= &nlm_rpc_stats,

>  };

> diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c

> index 2c41de8db1f0..0eb55b4d75b6 100644

> --- a/fs/lockd/mon.c

> +++ b/fs/lockd/mon.c

> @@ -553,9 +553,9 @@ static const struct rpc_procinfo nsm_procedures[]

> = {

>  };

>  

>  static const struct rpc_version nsm_version1 = {

> -		.number		= 1,

> -		.nrprocs	= ARRAY_SIZE(nsm_procedures),

> -		.procs		= nsm_procedures

> +	.number		= 1,

> +	.nrprocs	= ARRAY_SIZE(nsm_procedures),

> +	.procs		= nsm_procedures

>  };

>  

>  static const struct rpc_version *nsm_version[] = {

> @@ -565,9 +565,9 @@ static const struct rpc_version *nsm_version[] =

> {

>  static struct rpc_stat		nsm_stats;

>  

>  static const struct rpc_program nsm_program = {

> -		.name		= "statd",

> -		.number		= NSM_PROGRAM,

> -		.nrvers		= ARRAY_SIZE(nsm_version),

> -		.version	= nsm_version,

> -		.stats		= &nsm_stats

> +	.name		= "statd",

> +	.number		= NSM_PROGRAM,

> +	.nrvers		= ARRAY_SIZE(nsm_version),

> +	.version	= nsm_version,

> +	.stats		= &nsm_stats

>  };


Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>


-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@primarydata.com
diff mbox

Patch

diff --git a/fs/lockd/clntxdr.c b/fs/lockd/clntxdr.c
index cccf5c2ffadb..7bc54162f5bf 100644
--- a/fs/lockd/clntxdr.c
+++ b/fs/lockd/clntxdr.c
@@ -601,15 +601,15 @@  static const struct rpc_procinfo nlm_procedures[] = {
 };
 
 static const struct rpc_version	nlm_version1 = {
-		.number		= 1,
-		.nrprocs	= ARRAY_SIZE(nlm_procedures),
-		.procs		= nlm_procedures,
+	.number		= 1,
+	.nrprocs	= ARRAY_SIZE(nlm_procedures),
+	.procs		= nlm_procedures,
 };
 
 static const struct rpc_version	nlm_version3 = {
-		.number		= 3,
-		.nrprocs	= ARRAY_SIZE(nlm_procedures),
-		.procs		= nlm_procedures,
+	.number		= 3,
+	.nrprocs	= ARRAY_SIZE(nlm_procedures),
+	.procs		= nlm_procedures,
 };
 
 static const struct rpc_version	*nlm_versions[] = {
@@ -623,9 +623,9 @@  static const struct rpc_version	*nlm_versions[] = {
 static struct rpc_stat		nlm_rpc_stats;
 
 const struct rpc_program	nlm_program = {
-		.name		= "lockd",
-		.number		= NLM_PROGRAM,
-		.nrvers		= ARRAY_SIZE(nlm_versions),
-		.version	= nlm_versions,
-		.stats		= &nlm_rpc_stats,
+	.name		= "lockd",
+	.number		= NLM_PROGRAM,
+	.nrvers		= ARRAY_SIZE(nlm_versions),
+	.version	= nlm_versions,
+	.stats		= &nlm_rpc_stats,
 };
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c
index 2c41de8db1f0..0eb55b4d75b6 100644
--- a/fs/lockd/mon.c
+++ b/fs/lockd/mon.c
@@ -553,9 +553,9 @@  static const struct rpc_procinfo nsm_procedures[] = {
 };
 
 static const struct rpc_version nsm_version1 = {
-		.number		= 1,
-		.nrprocs	= ARRAY_SIZE(nsm_procedures),
-		.procs		= nsm_procedures
+	.number		= 1,
+	.nrprocs	= ARRAY_SIZE(nsm_procedures),
+	.procs		= nsm_procedures
 };
 
 static const struct rpc_version *nsm_version[] = {
@@ -565,9 +565,9 @@  static const struct rpc_version *nsm_version[] = {
 static struct rpc_stat		nsm_stats;
 
 static const struct rpc_program nsm_program = {
-		.name		= "statd",
-		.number		= NSM_PROGRAM,
-		.nrvers		= ARRAY_SIZE(nsm_version),
-		.version	= nsm_version,
-		.stats		= &nsm_stats
+	.name		= "statd",
+	.number		= NSM_PROGRAM,
+	.nrvers		= ARRAY_SIZE(nsm_version),
+	.version	= nsm_version,
+	.stats		= &nsm_stats
 };