diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-12 10:21:37 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-05-15 11:42:31 -0400 |
commit | e9679189e34b25a1b9aa77fe37d331559d1544af (patch) | |
tree | ba2770a70f819a09bbcf9432a37c91b695a131cf | |
parent | 860bda29b99afdc072a7a796fe81185f7ae85deb (diff) |
sunrpc: mark all struct svc_version instances as const
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>
-rw-r--r-- | fs/lockd/svc.c | 38 | ||||
-rw-r--r-- | fs/nfs/callback.c | 2 | ||||
-rw-r--r-- | fs/nfs/callback_xdr.c | 4 | ||||
-rw-r--r-- | fs/nfs/internal.h | 4 | ||||
-rw-r--r-- | fs/nfs/nfs4_fs.h | 4 | ||||
-rw-r--r-- | fs/nfsd/nfs2acl.c | 14 | ||||
-rw-r--r-- | fs/nfsd/nfs3acl.c | 14 | ||||
-rw-r--r-- | fs/nfsd/nfs3proc.c | 14 | ||||
-rw-r--r-- | fs/nfsd/nfs4proc.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfsd.h | 6 | ||||
-rw-r--r-- | fs/nfsd/nfsproc.c | 14 | ||||
-rw-r--r-- | fs/nfsd/nfssvc.c | 8 | ||||
-rw-r--r-- | include/linux/sunrpc/svc.h | 2 | ||||
-rw-r--r-- | net/sunrpc/svc.c | 4 |
14 files changed, 65 insertions, 65 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index cc6abe6280bc..726b6cecf430 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
@@ -740,32 +740,32 @@ module_exit(exit_nlm); | |||
740 | * Define NLM program and procedures | 740 | * Define NLM program and procedures |
741 | */ | 741 | */ |
742 | static unsigned int nlmsvc_version1_count[17]; | 742 | static unsigned int nlmsvc_version1_count[17]; |
743 | static struct svc_version nlmsvc_version1 = { | 743 | static const struct svc_version nlmsvc_version1 = { |
744 | .vs_vers = 1, | 744 | .vs_vers = 1, |
745 | .vs_nproc = 17, | 745 | .vs_nproc = 17, |
746 | .vs_proc = nlmsvc_procedures, | 746 | .vs_proc = nlmsvc_procedures, |
747 | .vs_count = nlmsvc_version1_count, | 747 | .vs_count = nlmsvc_version1_count, |
748 | .vs_xdrsize = NLMSVC_XDRSIZE, | 748 | .vs_xdrsize = NLMSVC_XDRSIZE, |
749 | }; | 749 | }; |
750 | static unsigned int nlmsvc_version3_count[24]; | 750 | static unsigned int nlmsvc_version3_count[24]; |
751 | static struct svc_version nlmsvc_version3 = { | 751 | static const struct svc_version nlmsvc_version3 = { |
752 | .vs_vers = 3, | 752 | .vs_vers = 3, |
753 | .vs_nproc = 24, | 753 | .vs_nproc = 24, |
754 | .vs_proc = nlmsvc_procedures, | 754 | .vs_proc = nlmsvc_procedures, |
755 | .vs_count = nlmsvc_version3_count, | 755 | .vs_count = nlmsvc_version3_count, |
756 | .vs_xdrsize = NLMSVC_XDRSIZE, | 756 | .vs_xdrsize = NLMSVC_XDRSIZE, |
757 | }; | 757 | }; |
758 | #ifdef CONFIG_LOCKD_V4 | 758 | #ifdef CONFIG_LOCKD_V4 |
759 | static unsigned int nlmsvc_version4_count[24]; | 759 | static unsigned int nlmsvc_version4_count[24]; |
760 | static struct svc_version nlmsvc_version4 = { | 760 | static const struct svc_version nlmsvc_version4 = { |
761 | .vs_vers = 4, | 761 | .vs_vers = 4, |
762 | .vs_nproc = 24, | 762 | .vs_nproc = 24, |
763 | .vs_proc = nlmsvc_procedures4, | 763 | .vs_proc = nlmsvc_procedures4, |
764 | .vs_count = nlmsvc_version4_count, | 764 | .vs_count = nlmsvc_version4_count, |
765 | .vs_xdrsize = NLMSVC_XDRSIZE, | 765 | .vs_xdrsize = NLMSVC_XDRSIZE, |
766 | }; | 766 | }; |
767 | #endif | 767 | #endif |
768 | static struct svc_version * nlmsvc_version[] = { | 768 | static const struct svc_version *nlmsvc_version[] = { |
769 | [1] = &nlmsvc_version1, | 769 | [1] = &nlmsvc_version1, |
770 | [3] = &nlmsvc_version3, | 770 | [3] = &nlmsvc_version3, |
771 | #ifdef CONFIG_LOCKD_V4 | 771 | #ifdef CONFIG_LOCKD_V4 |
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index 73a1f928226c..34323877ec13 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c | |||
@@ -439,7 +439,7 @@ static int nfs_callback_authenticate(struct svc_rqst *rqstp) | |||
439 | /* | 439 | /* |
440 | * Define NFS4 callback program | 440 | * Define NFS4 callback program |
441 | */ | 441 | */ |
442 | static struct svc_version *nfs4_callback_version[] = { | 442 | static const struct svc_version *nfs4_callback_version[] = { |
443 | [1] = &nfs4_callback_version1, | 443 | [1] = &nfs4_callback_version1, |
444 | [4] = &nfs4_callback_version4, | 444 | [4] = &nfs4_callback_version4, |
445 | }; | 445 | }; |
diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c index ae249f27297f..01a430e51daa 100644 --- a/fs/nfs/callback_xdr.c +++ b/fs/nfs/callback_xdr.c | |||
@@ -1012,7 +1012,7 @@ static const struct svc_procedure nfs4_callback_procedures1[] = { | |||
1012 | }; | 1012 | }; |
1013 | 1013 | ||
1014 | static unsigned int nfs4_callback_count1[ARRAY_SIZE(nfs4_callback_procedures1)]; | 1014 | static unsigned int nfs4_callback_count1[ARRAY_SIZE(nfs4_callback_procedures1)]; |
1015 | struct svc_version nfs4_callback_version1 = { | 1015 | const struct svc_version nfs4_callback_version1 = { |
1016 | .vs_vers = 1, | 1016 | .vs_vers = 1, |
1017 | .vs_nproc = ARRAY_SIZE(nfs4_callback_procedures1), | 1017 | .vs_nproc = ARRAY_SIZE(nfs4_callback_procedures1), |
1018 | .vs_proc = nfs4_callback_procedures1, | 1018 | .vs_proc = nfs4_callback_procedures1, |
@@ -1024,7 +1024,7 @@ struct svc_version nfs4_callback_version1 = { | |||
1024 | }; | 1024 | }; |
1025 | 1025 | ||
1026 | static unsigned int nfs4_callback_count4[ARRAY_SIZE(nfs4_callback_procedures1)]; | 1026 | static unsigned int nfs4_callback_count4[ARRAY_SIZE(nfs4_callback_procedures1)]; |
1027 | struct svc_version nfs4_callback_version4 = { | 1027 | const struct svc_version nfs4_callback_version4 = { |
1028 | .vs_vers = 4, | 1028 | .vs_vers = 4, |
1029 | .vs_nproc = ARRAY_SIZE(nfs4_callback_procedures1), | 1029 | .vs_nproc = ARRAY_SIZE(nfs4_callback_procedures1), |
1030 | .vs_proc = nfs4_callback_procedures1, | 1030 | .vs_proc = nfs4_callback_procedures1, |
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index c21254924389..9976d8498cf3 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -225,8 +225,8 @@ static inline void nfs_fs_proc_exit(void) | |||
225 | #endif | 225 | #endif |
226 | 226 | ||
227 | /* callback_xdr.c */ | 227 | /* callback_xdr.c */ |
228 | extern struct svc_version nfs4_callback_version1; | 228 | extern const struct svc_version nfs4_callback_version1; |
229 | extern struct svc_version nfs4_callback_version4; | 229 | extern const struct svc_version nfs4_callback_version4; |
230 | 230 | ||
231 | struct nfs_pageio_descriptor; | 231 | struct nfs_pageio_descriptor; |
232 | /* pagelist.c */ | 232 | /* pagelist.c */ |
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 9b0cf3872722..40bd05f05e74 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -498,8 +498,8 @@ extern const struct rpc_procinfo nfs4_procedures[]; | |||
498 | struct nfs4_mount_data; | 498 | struct nfs4_mount_data; |
499 | 499 | ||
500 | /* callback_xdr.c */ | 500 | /* callback_xdr.c */ |
501 | extern struct svc_version nfs4_callback_version1; | 501 | extern const struct svc_version nfs4_callback_version1; |
502 | extern struct svc_version nfs4_callback_version4; | 502 | extern const struct svc_version nfs4_callback_version4; |
503 | 503 | ||
504 | static inline void nfs4_stateid_copy(nfs4_stateid *dst, const nfs4_stateid *src) | 504 | static inline void nfs4_stateid_copy(nfs4_stateid *dst, const nfs4_stateid *src) |
505 | { | 505 | { |
diff --git a/fs/nfsd/nfs2acl.c b/fs/nfsd/nfs2acl.c index c3f6b8a6b659..6276ec8608b0 100644 --- a/fs/nfsd/nfs2acl.c +++ b/fs/nfsd/nfs2acl.c | |||
@@ -379,11 +379,11 @@ static const struct svc_procedure nfsd_acl_procedures2[] = { | |||
379 | }; | 379 | }; |
380 | 380 | ||
381 | static unsigned int nfsd_acl_count2[ARRAY_SIZE(nfsd_acl_procedures2)]; | 381 | static unsigned int nfsd_acl_count2[ARRAY_SIZE(nfsd_acl_procedures2)]; |
382 | struct svc_version nfsd_acl_version2 = { | 382 | const struct svc_version nfsd_acl_version2 = { |
383 | .vs_vers = 2, | 383 | .vs_vers = 2, |
384 | .vs_nproc = 5, | 384 | .vs_nproc = 5, |
385 | .vs_proc = nfsd_acl_procedures2, | 385 | .vs_proc = nfsd_acl_procedures2, |
386 | .vs_count = nfsd_acl_count2, | 386 | .vs_count = nfsd_acl_count2, |
387 | .vs_dispatch = nfsd_dispatch, | 387 | .vs_dispatch = nfsd_dispatch, |
388 | .vs_xdrsize = NFS3_SVC_XDRSIZE, | 388 | .vs_xdrsize = NFS3_SVC_XDRSIZE, |
389 | }; | 389 | }; |
diff --git a/fs/nfsd/nfs3acl.c b/fs/nfsd/nfs3acl.c index 1a482ac9d4e9..01976529f042 100644 --- a/fs/nfsd/nfs3acl.c +++ b/fs/nfsd/nfs3acl.c | |||
@@ -264,12 +264,12 @@ static const struct svc_procedure nfsd_acl_procedures3[] = { | |||
264 | }; | 264 | }; |
265 | 265 | ||
266 | static unsigned int nfsd_acl_count3[ARRAY_SIZE(nfsd_acl_procedures3)]; | 266 | static unsigned int nfsd_acl_count3[ARRAY_SIZE(nfsd_acl_procedures3)]; |
267 | struct svc_version nfsd_acl_version3 = { | 267 | const struct svc_version nfsd_acl_version3 = { |
268 | .vs_vers = 3, | 268 | .vs_vers = 3, |
269 | .vs_nproc = 3, | 269 | .vs_nproc = 3, |
270 | .vs_proc = nfsd_acl_procedures3, | 270 | .vs_proc = nfsd_acl_procedures3, |
271 | .vs_count = nfsd_acl_count3, | 271 | .vs_count = nfsd_acl_count3, |
272 | .vs_dispatch = nfsd_dispatch, | 272 | .vs_dispatch = nfsd_dispatch, |
273 | .vs_xdrsize = NFS3_SVC_XDRSIZE, | 273 | .vs_xdrsize = NFS3_SVC_XDRSIZE, |
274 | }; | 274 | }; |
275 | 275 | ||
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c index 96e0e6a2af51..2cb56a0d6625 100644 --- a/fs/nfsd/nfs3proc.c +++ b/fs/nfsd/nfs3proc.c | |||
@@ -891,11 +891,11 @@ static const struct svc_procedure nfsd_procedures3[22] = { | |||
891 | }; | 891 | }; |
892 | 892 | ||
893 | static unsigned int nfsd_count3[ARRAY_SIZE(nfsd_procedures3)]; | 893 | static unsigned int nfsd_count3[ARRAY_SIZE(nfsd_procedures3)]; |
894 | struct svc_version nfsd_version3 = { | 894 | const struct svc_version nfsd_version3 = { |
895 | .vs_vers = 3, | 895 | .vs_vers = 3, |
896 | .vs_nproc = 22, | 896 | .vs_nproc = 22, |
897 | .vs_proc = nfsd_procedures3, | 897 | .vs_proc = nfsd_procedures3, |
898 | .vs_count = nfsd_count3, | 898 | .vs_dispatch = nfsd_dispatch, |
899 | .vs_dispatch = nfsd_dispatch, | 899 | .vs_count = nfsd_count3, |
900 | .vs_xdrsize = NFS3_SVC_XDRSIZE, | 900 | .vs_xdrsize = NFS3_SVC_XDRSIZE, |
901 | }; | 901 | }; |
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index a4d8aa3abc63..e814c1946f6e 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -2555,7 +2555,7 @@ static const struct svc_procedure nfsd_procedures4[2] = { | |||
2555 | }; | 2555 | }; |
2556 | 2556 | ||
2557 | static unsigned int nfsd_count3[ARRAY_SIZE(nfsd_procedures4)]; | 2557 | static unsigned int nfsd_count3[ARRAY_SIZE(nfsd_procedures4)]; |
2558 | struct svc_version nfsd_version4 = { | 2558 | const struct svc_version nfsd_version4 = { |
2559 | .vs_vers = 4, | 2559 | .vs_vers = 4, |
2560 | .vs_nproc = 2, | 2560 | .vs_nproc = 2, |
2561 | .vs_proc = nfsd_procedures4, | 2561 | .vs_proc = nfsd_procedures4, |
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index d96606801d47..b9c538ab7a59 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h | |||
@@ -60,7 +60,7 @@ struct readdir_cd { | |||
60 | 60 | ||
61 | 61 | ||
62 | extern struct svc_program nfsd_program; | 62 | extern struct svc_program nfsd_program; |
63 | extern struct svc_version nfsd_version2, nfsd_version3, | 63 | extern const struct svc_version nfsd_version2, nfsd_version3, |
64 | nfsd_version4; | 64 | nfsd_version4; |
65 | extern struct mutex nfsd_mutex; | 65 | extern struct mutex nfsd_mutex; |
66 | extern spinlock_t nfsd_drc_lock; | 66 | extern spinlock_t nfsd_drc_lock; |
@@ -86,12 +86,12 @@ void nfsd_destroy(struct net *net); | |||
86 | 86 | ||
87 | #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) | 87 | #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) |
88 | #ifdef CONFIG_NFSD_V2_ACL | 88 | #ifdef CONFIG_NFSD_V2_ACL |
89 | extern struct svc_version nfsd_acl_version2; | 89 | extern const struct svc_version nfsd_acl_version2; |
90 | #else | 90 | #else |
91 | #define nfsd_acl_version2 NULL | 91 | #define nfsd_acl_version2 NULL |
92 | #endif | 92 | #endif |
93 | #ifdef CONFIG_NFSD_V3_ACL | 93 | #ifdef CONFIG_NFSD_V3_ACL |
94 | extern struct svc_version nfsd_acl_version3; | 94 | extern const struct svc_version nfsd_acl_version3; |
95 | #else | 95 | #else |
96 | #define nfsd_acl_version3 NULL | 96 | #define nfsd_acl_version3 NULL |
97 | #endif | 97 | #endif |
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index a68b686fda12..5076ae2b8258 100644 --- a/fs/nfsd/nfsproc.c +++ b/fs/nfsd/nfsproc.c | |||
@@ -744,13 +744,13 @@ static const struct svc_procedure nfsd_procedures2[18] = { | |||
744 | 744 | ||
745 | 745 | ||
746 | static unsigned int nfsd_count2[ARRAY_SIZE(nfsd_procedures2)]; | 746 | static unsigned int nfsd_count2[ARRAY_SIZE(nfsd_procedures2)]; |
747 | struct svc_version nfsd_version2 = { | 747 | const struct svc_version nfsd_version2 = { |
748 | .vs_vers = 2, | 748 | .vs_vers = 2, |
749 | .vs_nproc = 18, | 749 | .vs_nproc = 18, |
750 | .vs_proc = nfsd_procedures2, | 750 | .vs_proc = nfsd_procedures2, |
751 | .vs_count = nfsd_count2, | 751 | .vs_count = nfsd_count2, |
752 | .vs_dispatch = nfsd_dispatch, | 752 | .vs_dispatch = nfsd_dispatch, |
753 | .vs_xdrsize = NFS2_SVC_XDRSIZE, | 753 | .vs_xdrsize = NFS2_SVC_XDRSIZE, |
754 | }; | 754 | }; |
755 | 755 | ||
756 | /* | 756 | /* |
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 379b310c445d..063ae7de2c12 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c | |||
@@ -68,14 +68,14 @@ unsigned long nfsd_drc_mem_used; | |||
68 | 68 | ||
69 | #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) | 69 | #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) |
70 | static struct svc_stat nfsd_acl_svcstats; | 70 | static struct svc_stat nfsd_acl_svcstats; |
71 | static struct svc_version * nfsd_acl_version[] = { | 71 | static const struct svc_version *nfsd_acl_version[] = { |
72 | [2] = &nfsd_acl_version2, | 72 | [2] = &nfsd_acl_version2, |
73 | [3] = &nfsd_acl_version3, | 73 | [3] = &nfsd_acl_version3, |
74 | }; | 74 | }; |
75 | 75 | ||
76 | #define NFSD_ACL_MINVERS 2 | 76 | #define NFSD_ACL_MINVERS 2 |
77 | #define NFSD_ACL_NRVERS ARRAY_SIZE(nfsd_acl_version) | 77 | #define NFSD_ACL_NRVERS ARRAY_SIZE(nfsd_acl_version) |
78 | static struct svc_version *nfsd_acl_versions[NFSD_ACL_NRVERS]; | 78 | static const struct svc_version *nfsd_acl_versions[NFSD_ACL_NRVERS]; |
79 | 79 | ||
80 | static struct svc_program nfsd_acl_program = { | 80 | static struct svc_program nfsd_acl_program = { |
81 | .pg_prog = NFS_ACL_PROGRAM, | 81 | .pg_prog = NFS_ACL_PROGRAM, |
@@ -92,7 +92,7 @@ static struct svc_stat nfsd_acl_svcstats = { | |||
92 | }; | 92 | }; |
93 | #endif /* defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) */ | 93 | #endif /* defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) */ |
94 | 94 | ||
95 | static struct svc_version * nfsd_version[] = { | 95 | static const struct svc_version *nfsd_version[] = { |
96 | [2] = &nfsd_version2, | 96 | [2] = &nfsd_version2, |
97 | #if defined(CONFIG_NFSD_V3) | 97 | #if defined(CONFIG_NFSD_V3) |
98 | [3] = &nfsd_version3, | 98 | [3] = &nfsd_version3, |
@@ -104,7 +104,7 @@ static struct svc_version * nfsd_version[] = { | |||
104 | 104 | ||
105 | #define NFSD_MINVERS 2 | 105 | #define NFSD_MINVERS 2 |
106 | #define NFSD_NRVERS ARRAY_SIZE(nfsd_version) | 106 | #define NFSD_NRVERS ARRAY_SIZE(nfsd_version) |
107 | static struct svc_version *nfsd_versions[NFSD_NRVERS]; | 107 | static const struct svc_version *nfsd_versions[NFSD_NRVERS]; |
108 | 108 | ||
109 | struct svc_program nfsd_program = { | 109 | struct svc_program nfsd_program = { |
110 | #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) | 110 | #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) |
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 984e6b9c3043..e85267899753 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h | |||
@@ -383,7 +383,7 @@ struct svc_program { | |||
383 | unsigned int pg_lovers; /* lowest version */ | 383 | unsigned int pg_lovers; /* lowest version */ |
384 | unsigned int pg_hivers; /* highest version */ | 384 | unsigned int pg_hivers; /* highest version */ |
385 | unsigned int pg_nvers; /* number of versions */ | 385 | unsigned int pg_nvers; /* number of versions */ |
386 | struct svc_version ** pg_vers; /* version array */ | 386 | const struct svc_version **pg_vers; /* version array */ |
387 | char * pg_name; /* service name */ | 387 | char * pg_name; /* service name */ |
388 | char * pg_class; /* class name: services sharing authentication */ | 388 | char * pg_class; /* class name: services sharing authentication */ |
389 | struct svc_stat * pg_stats; /* rpc statistics */ | 389 | struct svc_stat * pg_stats; /* rpc statistics */ |
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 049963d676a7..45b4f2d2e3bd 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -1008,7 +1008,7 @@ int svc_register(const struct svc_serv *serv, struct net *net, | |||
1008 | const unsigned short port) | 1008 | const unsigned short port) |
1009 | { | 1009 | { |
1010 | struct svc_program *progp; | 1010 | struct svc_program *progp; |
1011 | struct svc_version *vers; | 1011 | const struct svc_version *vers; |
1012 | unsigned int i; | 1012 | unsigned int i; |
1013 | int error = 0; | 1013 | int error = 0; |
1014 | 1014 | ||
@@ -1151,7 +1151,7 @@ static int | |||
1151 | svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) | 1151 | svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) |
1152 | { | 1152 | { |
1153 | struct svc_program *progp; | 1153 | struct svc_program *progp; |
1154 | struct svc_version *versp = NULL; /* compiler food */ | 1154 | const struct svc_version *versp = NULL; /* compiler food */ |
1155 | const struct svc_procedure *procp = NULL; | 1155 | const struct svc_procedure *procp = NULL; |
1156 | struct svc_serv *serv = rqstp->rq_server; | 1156 | struct svc_serv *serv = rqstp->rq_server; |
1157 | __be32 *statp; | 1157 | __be32 *statp; |