Commit cdfa31e9 authored by Christoph Hellwig's avatar Christoph Hellwig

lockd: fix some weird indentation

Remove double indentation of a few struct rpc_version and
struct rpc_program instance.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent f4dac4ad
...@@ -601,15 +601,15 @@ static struct rpc_procinfo nlm_procedures[] = { ...@@ -601,15 +601,15 @@ static struct rpc_procinfo nlm_procedures[] = {
}; };
static const struct rpc_version nlm_version1 = { static const struct rpc_version nlm_version1 = {
.number = 1, .number = 1,
.nrprocs = ARRAY_SIZE(nlm_procedures), .nrprocs = ARRAY_SIZE(nlm_procedures),
.procs = nlm_procedures, .procs = nlm_procedures,
}; };
static const struct rpc_version nlm_version3 = { static const struct rpc_version nlm_version3 = {
.number = 3, .number = 3,
.nrprocs = ARRAY_SIZE(nlm_procedures), .nrprocs = ARRAY_SIZE(nlm_procedures),
.procs = nlm_procedures, .procs = nlm_procedures,
}; };
static const struct rpc_version *nlm_versions[] = { static const struct rpc_version *nlm_versions[] = {
...@@ -623,9 +623,9 @@ 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; static struct rpc_stat nlm_rpc_stats;
const struct rpc_program nlm_program = { const struct rpc_program nlm_program = {
.name = "lockd", .name = "lockd",
.number = NLM_PROGRAM, .number = NLM_PROGRAM,
.nrvers = ARRAY_SIZE(nlm_versions), .nrvers = ARRAY_SIZE(nlm_versions),
.version = nlm_versions, .version = nlm_versions,
.stats = &nlm_rpc_stats, .stats = &nlm_rpc_stats,
}; };
...@@ -553,9 +553,9 @@ static struct rpc_procinfo nsm_procedures[] = { ...@@ -553,9 +553,9 @@ static struct rpc_procinfo nsm_procedures[] = {
}; };
static const struct rpc_version nsm_version1 = { static const struct rpc_version nsm_version1 = {
.number = 1, .number = 1,
.nrprocs = ARRAY_SIZE(nsm_procedures), .nrprocs = ARRAY_SIZE(nsm_procedures),
.procs = nsm_procedures .procs = nsm_procedures
}; };
static const struct rpc_version *nsm_version[] = { static const struct rpc_version *nsm_version[] = {
...@@ -565,9 +565,9 @@ 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 struct rpc_stat nsm_stats;
static const struct rpc_program nsm_program = { static const struct rpc_program nsm_program = {
.name = "statd", .name = "statd",
.number = NSM_PROGRAM, .number = NSM_PROGRAM,
.nrvers = ARRAY_SIZE(nsm_version), .nrvers = ARRAY_SIZE(nsm_version),
.version = nsm_version, .version = nsm_version,
.stats = &nsm_stats .stats = &nsm_stats
}; };
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