aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-08-22 20:06:11 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-22 23:24:34 -0400
commit509de8111656a7d89b4a1a5f430f4460ce510f0f (patch)
tree94ec0130ab74a5c80956ca3edd3298999b3b9897 /include
parent0c7d90cfed91a283228017ba6faf37ee0bcd32b1 (diff)
NFS: Add extra const qualifiers
Add some extra const qualifiers into NFS. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs_sb.h2
-rw-r--r--include/linux/nfs_xdr.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index a727657e0ad3..95f32d5f6e9c 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -73,7 +73,7 @@ struct nfs_server {
73 struct rpc_clnt * client; /* RPC client handle */ 73 struct rpc_clnt * client; /* RPC client handle */
74 struct rpc_clnt * client_sys; /* 2nd handle for FSINFO */ 74 struct rpc_clnt * client_sys; /* 2nd handle for FSINFO */
75 struct rpc_clnt * client_acl; /* ACL RPC client handle */ 75 struct rpc_clnt * client_acl; /* ACL RPC client handle */
76 struct nfs_rpc_ops * rpc_ops; /* NFS protocol vector */ 76 const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */
77 struct nfs_iostats * io_stats; /* I/O statistics */ 77 struct nfs_iostats * io_stats; /* I/O statistics */
78 struct backing_dev_info backing_dev_info; 78 struct backing_dev_info backing_dev_info;
79 int flags; /* various flags */ 79 int flags; /* various flags */
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index dd9ae6761f71..2426b11b6cce 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -833,9 +833,9 @@ struct nfs_rpc_ops {
833/* 833/*
834 * Function vectors etc. for the NFS client 834 * Function vectors etc. for the NFS client
835 */ 835 */
836extern struct nfs_rpc_ops nfs_v2_clientops; 836extern const struct nfs_rpc_ops nfs_v2_clientops;
837extern struct nfs_rpc_ops nfs_v3_clientops; 837extern const struct nfs_rpc_ops nfs_v3_clientops;
838extern struct nfs_rpc_ops nfs_v4_clientops; 838extern const struct nfs_rpc_ops nfs_v4_clientops;
839extern struct rpc_version nfs_version2; 839extern struct rpc_version nfs_version2;
840extern struct rpc_version nfs_version3; 840extern struct rpc_version nfs_version3;
841extern struct rpc_version nfs_version4; 841extern struct rpc_version nfs_version4;