2.6.32.28 update
/fs/nfs/mount_clnt.c
blob:59047f8d7d72885869c748721a389307e34e7eca -> blob:3dde50c093b5cb57f63ef8e279de4d0f3ef58d98
--- fs/nfs/mount_clnt.c
+++ fs/nfs/mount_clnt.c
@@ -503,13 +503,13 @@ static struct rpc_procinfo mnt3_procedur
static struct rpc_version mnt_version1 = {
.number = 1,
- .nrprocs = 2,
+ .nrprocs = ARRAY_SIZE(mnt_procedures),
.procs = mnt_procedures,
};
static struct rpc_version mnt_version3 = {
.number = 3,
- .nrprocs = 2,
+ .nrprocs = ARRAY_SIZE(mnt3_procedures),
.procs = mnt3_procedures,
};