sunrpc: mark all struct svc_version instances as const
[GitHub/MotorolaMobilityLLC/kernel-slsi.git] / fs / nfsd / nfsproc.c
index a68b686fda121fba4f1088808a95502c9eeeb842..5076ae2b82585fb563822483cf1b10f208f5e9ab 100644 (file)
@@ -744,13 +744,13 @@ static const struct svc_procedure nfsd_procedures2[18] = {
 
 
 static unsigned int nfsd_count2[ARRAY_SIZE(nfsd_procedures2)];
-struct svc_version     nfsd_version2 = {
-               .vs_vers        = 2,
-               .vs_nproc       = 18,
-               .vs_proc        = nfsd_procedures2,
-               .vs_count       = nfsd_count2,
-               .vs_dispatch    = nfsd_dispatch,
-               .vs_xdrsize     = NFS2_SVC_XDRSIZE,
+const struct svc_version nfsd_version2 = {
+       .vs_vers        = 2,
+       .vs_nproc       = 18,
+       .vs_proc        = nfsd_procedures2,
+       .vs_count       = nfsd_count2,
+       .vs_dispatch    = nfsd_dispatch,
+       .vs_xdrsize     = NFS2_SVC_XDRSIZE,
 };
 
 /*