diff options
Diffstat (limited to 'fs/nfs/nfs3xdr.c')
-rw-r--r-- | fs/nfs/nfs3xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c index 2d8701a230f0..ec233619687e 100644 --- a/fs/nfs/nfs3xdr.c +++ b/fs/nfs/nfs3xdr.c | |||
@@ -1140,7 +1140,7 @@ struct rpc_procinfo nfs3_procedures[] = { | |||
1140 | 1140 | ||
1141 | struct rpc_version nfs_version3 = { | 1141 | struct rpc_version nfs_version3 = { |
1142 | .number = 3, | 1142 | .number = 3, |
1143 | .nrprocs = sizeof(nfs3_procedures)/sizeof(nfs3_procedures[0]), | 1143 | .nrprocs = ARRAY_SIZE(nfs3_procedures), |
1144 | .procs = nfs3_procedures | 1144 | .procs = nfs3_procedures |
1145 | }; | 1145 | }; |
1146 | 1146 | ||