Skip to content

Commit cdfa31e

Browse files
author
Christoph Hellwig
committed
lockd: fix some weird indentation
Remove double indentation of a few struct rpc_version and struct rpc_program instance. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Trond Myklebust <[email protected]>
1 parent f4dac4a commit cdfa31e

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

fs/lockd/clntxdr.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -601,15 +601,15 @@ static struct rpc_procinfo nlm_procedures[] = {
601601
};
602602

603603
static const struct rpc_version nlm_version1 = {
604-
.number = 1,
605-
.nrprocs = ARRAY_SIZE(nlm_procedures),
606-
.procs = nlm_procedures,
604+
.number = 1,
605+
.nrprocs = ARRAY_SIZE(nlm_procedures),
606+
.procs = nlm_procedures,
607607
};
608608

609609
static const struct rpc_version nlm_version3 = {
610-
.number = 3,
611-
.nrprocs = ARRAY_SIZE(nlm_procedures),
612-
.procs = nlm_procedures,
610+
.number = 3,
611+
.nrprocs = ARRAY_SIZE(nlm_procedures),
612+
.procs = nlm_procedures,
613613
};
614614

615615
static const struct rpc_version *nlm_versions[] = {
@@ -623,9 +623,9 @@ static const struct rpc_version *nlm_versions[] = {
623623
static struct rpc_stat nlm_rpc_stats;
624624

625625
const struct rpc_program nlm_program = {
626-
.name = "lockd",
627-
.number = NLM_PROGRAM,
628-
.nrvers = ARRAY_SIZE(nlm_versions),
629-
.version = nlm_versions,
630-
.stats = &nlm_rpc_stats,
626+
.name = "lockd",
627+
.number = NLM_PROGRAM,
628+
.nrvers = ARRAY_SIZE(nlm_versions),
629+
.version = nlm_versions,
630+
.stats = &nlm_rpc_stats,
631631
};

fs/lockd/mon.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -553,9 +553,9 @@ static struct rpc_procinfo nsm_procedures[] = {
553553
};
554554

555555
static const struct rpc_version nsm_version1 = {
556-
.number = 1,
557-
.nrprocs = ARRAY_SIZE(nsm_procedures),
558-
.procs = nsm_procedures
556+
.number = 1,
557+
.nrprocs = ARRAY_SIZE(nsm_procedures),
558+
.procs = nsm_procedures
559559
};
560560

561561
static const struct rpc_version *nsm_version[] = {
@@ -565,9 +565,9 @@ static const struct rpc_version *nsm_version[] = {
565565
static struct rpc_stat nsm_stats;
566566

567567
static const struct rpc_program nsm_program = {
568-
.name = "statd",
569-
.number = NSM_PROGRAM,
570-
.nrvers = ARRAY_SIZE(nsm_version),
571-
.version = nsm_version,
572-
.stats = &nsm_stats
568+
.name = "statd",
569+
.number = NSM_PROGRAM,
570+
.nrvers = ARRAY_SIZE(nsm_version),
571+
.version = nsm_version,
572+
.stats = &nsm_stats
573573
};

0 commit comments

Comments
 (0)