diff options
Diffstat (limited to 'fs/lockd/xdr.c')
-rw-r--r-- | fs/lockd/xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/xdr.c b/fs/lockd/xdr.c index 766ce06146b5..f22a3764461a 100644 --- a/fs/lockd/xdr.c +++ b/fs/lockd/xdr.c | |||
@@ -604,7 +604,7 @@ static struct rpc_stat nlm_stats; | |||
604 | struct rpc_program nlm_program = { | 604 | struct rpc_program nlm_program = { |
605 | .name = "lockd", | 605 | .name = "lockd", |
606 | .number = NLM_PROGRAM, | 606 | .number = NLM_PROGRAM, |
607 | .nrvers = sizeof(nlm_versions) / sizeof(nlm_versions[0]), | 607 | .nrvers = ARRAY_SIZE(nlm_versions), |
608 | .version = nlm_versions, | 608 | .version = nlm_versions, |
609 | .stats = &nlm_stats, | 609 | .stats = &nlm_stats, |
610 | }; | 610 | }; |