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/nfs/nfs2xdr.c b/fs/nfs/nfs2xdr.c index 792cb13..1f56000 100644 --- a/fs/nfs/nfs2xdr.c +++ b/fs/nfs/nfs2xdr.c
@@ -1150,7 +1150,7 @@ PROC(STATFS, fhandle, statfsres, 0), }; -struct rpc_version nfs_version2 = { +const struct rpc_version nfs_version2 = { .number = 2, .nrprocs = ARRAY_SIZE(nfs_procedures), .procs = nfs_procedures