diff options
Diffstat (limited to 'fs/nfs/mount_clnt.c')
-rw-r--r-- | fs/nfs/mount_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/mount_clnt.c b/fs/nfs/mount_clnt.c index db99b8f678f8..0b9a78353d6e 100644 --- a/fs/nfs/mount_clnt.c +++ b/fs/nfs/mount_clnt.c | |||
@@ -174,7 +174,7 @@ static struct rpc_stat mnt_stats; | |||
174 | static struct rpc_program mnt_program = { | 174 | static struct rpc_program mnt_program = { |
175 | .name = "mount", | 175 | .name = "mount", |
176 | .number = NFS_MNT_PROGRAM, | 176 | .number = NFS_MNT_PROGRAM, |
177 | .nrvers = sizeof(mnt_version)/sizeof(mnt_version[0]), | 177 | .nrvers = ARRAY_SIZE(mnt_version), |
178 | .version = mnt_version, | 178 | .version = mnt_version, |
179 | .stats = &mnt_stats, | 179 | .stats = &mnt_stats, |
180 | }; | 180 | }; |