]> err.no Git - linux-2.6/blobdiff - fs/nfs/mount_clnt.c
[PATCH] wan/sdla section fixes
[linux-2.6] / fs / nfs / mount_clnt.c
index c44d87bdddb3a0f7757a2987fab5dfade0c82070..445abb4d42146e445e515c6a85292d8b8ecb1969 100644 (file)
@@ -185,7 +185,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,
 };