|
@@ -739,23 +739,29 @@ module_exit(exit_nlm);
|
|
/*
|
|
/*
|
|
* Define NLM program and procedures
|
|
* Define NLM program and procedures
|
|
*/
|
|
*/
|
|
|
|
+static unsigned int nlmsvc_version1_count[17];
|
|
static struct svc_version nlmsvc_version1 = {
|
|
static struct svc_version nlmsvc_version1 = {
|
|
.vs_vers = 1,
|
|
.vs_vers = 1,
|
|
.vs_nproc = 17,
|
|
.vs_nproc = 17,
|
|
.vs_proc = nlmsvc_procedures,
|
|
.vs_proc = nlmsvc_procedures,
|
|
|
|
+ .vs_count = nlmsvc_version1_count,
|
|
.vs_xdrsize = NLMSVC_XDRSIZE,
|
|
.vs_xdrsize = NLMSVC_XDRSIZE,
|
|
};
|
|
};
|
|
|
|
+static unsigned int nlmsvc_version3_count[24];
|
|
static struct svc_version nlmsvc_version3 = {
|
|
static struct svc_version nlmsvc_version3 = {
|
|
.vs_vers = 3,
|
|
.vs_vers = 3,
|
|
.vs_nproc = 24,
|
|
.vs_nproc = 24,
|
|
.vs_proc = nlmsvc_procedures,
|
|
.vs_proc = nlmsvc_procedures,
|
|
|
|
+ .vs_count = nlmsvc_version3_count,
|
|
.vs_xdrsize = NLMSVC_XDRSIZE,
|
|
.vs_xdrsize = NLMSVC_XDRSIZE,
|
|
};
|
|
};
|
|
#ifdef CONFIG_LOCKD_V4
|
|
#ifdef CONFIG_LOCKD_V4
|
|
|
|
+static unsigned int nlmsvc_version4_count[24];
|
|
static struct svc_version nlmsvc_version4 = {
|
|
static struct svc_version nlmsvc_version4 = {
|
|
.vs_vers = 4,
|
|
.vs_vers = 4,
|
|
.vs_nproc = 24,
|
|
.vs_nproc = 24,
|
|
.vs_proc = nlmsvc_procedures4,
|
|
.vs_proc = nlmsvc_procedures4,
|
|
|
|
+ .vs_count = nlmsvc_version4_count,
|
|
.vs_xdrsize = NLMSVC_XDRSIZE,
|
|
.vs_xdrsize = NLMSVC_XDRSIZE,
|
|
};
|
|
};
|
|
#endif
|
|
#endif
|