]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/mount_clnt.c
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6-omap-h63xx.git] / fs / nfs / mount_clnt.c
index db99b8f678f89c9bbb697041261ac94566aa1ba6..0b9a78353d6ef80c6dcf1de67dfab382fd239344 100644 (file)
@@ -174,7 +174,7 @@ static struct rpc_stat              mnt_stats;
 static struct rpc_program      mnt_program = {
        .name           = "mount",
        .number         = NFS_MNT_PROGRAM,
-       .nrvers         = sizeof(mnt_version)/sizeof(mnt_version[0]),
+       .nrvers         = ARRAY_SIZE(mnt_version),
        .version        = mnt_version,
        .stats          = &mnt_stats,
 };