commit | a613fa168afc19179a7547fbba45644c5b6912bf | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Jan 20 13:53:56 2012 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jan 31 19:28:20 2012 -0500 |
tree | 02db1b9ca905ff49d9811175607757e3a885325f | |
parent | 080b794ce5ad318ce34c52abaedf1bc6788a5abb [diff] [blame] |
SUNRPC: constify the rpc_program Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/fs/lockd/clnt4xdr.c b/fs/lockd/clnt4xdr.c index f848b52..3ddcbb1 100644 --- a/fs/lockd/clnt4xdr.c +++ b/fs/lockd/clnt4xdr.c
@@ -598,7 +598,7 @@ PROC(GRANTED_RES, res, norep), }; -struct rpc_version nlm_version4 = { +const struct rpc_version nlm_version4 = { .number = 4, .nrprocs = ARRAY_SIZE(nlm4_procedures), .procs = nlm4_procedures,