diff options
Diffstat (limited to 'fs/nfs/nfs2xdr.c')
-rw-r--r-- | fs/nfs/nfs2xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs2xdr.c b/fs/nfs/nfs2xdr.c index 7fc0560c89c9..6548a65de944 100644 --- a/fs/nfs/nfs2xdr.c +++ b/fs/nfs/nfs2xdr.c | |||
@@ -704,6 +704,6 @@ struct rpc_procinfo nfs_procedures[] = { | |||
704 | 704 | ||
705 | struct rpc_version nfs_version2 = { | 705 | struct rpc_version nfs_version2 = { |
706 | .number = 2, | 706 | .number = 2, |
707 | .nrprocs = sizeof(nfs_procedures)/sizeof(nfs_procedures[0]), | 707 | .nrprocs = ARRAY_SIZE(nfs_procedures), |
708 | .procs = nfs_procedures | 708 | .procs = nfs_procedures |
709 | }; | 709 | }; |