]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
lockd: fix some weird indentation
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 21:32:18 +0000 (23:32 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:56 +0000 (15:57 -0400)
Remove double indentation of a few struct rpc_version and
struct rpc_program instance.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/lockd/clntxdr.c
fs/lockd/mon.c

index 17e7f08b3a22f741243ec34a0cdc113a0eda6067..bd8a976785aead9708d785501bd4e88f2f410936 100644 (file)
@@ -601,15 +601,15 @@ static 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,
 };
index 80630f0347e18ab29e1485fc555c889b57fb3875..62424e929a7fd37e6666b1629d3199141f5f8647 100644 (file)
@@ -553,9 +553,9 @@ static 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
 };