aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/clnt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/clnt.h')
-rw-r--r--include/linux/sunrpc/clnt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h
index 4a46ffd73a04..a4c62e95c720 100644
--- a/include/linux/sunrpc/clnt.h
+++ b/include/linux/sunrpc/clnt.h
@@ -61,7 +61,7 @@ struct rpc_clnt {
61 struct rpc_clnt * cl_parent; /* Points to parent of clones */ 61 struct rpc_clnt * cl_parent; /* Points to parent of clones */
62 struct rpc_rtt cl_rtt_default; 62 struct rpc_rtt cl_rtt_default;
63 struct rpc_timeout cl_timeout_default; 63 struct rpc_timeout cl_timeout_default;
64 struct rpc_program * cl_program; 64 const struct rpc_program *cl_program;
65 char *cl_principal; /* target to authenticate to */ 65 char *cl_principal; /* target to authenticate to */
66}; 66};
67 67
@@ -73,7 +73,7 @@ struct rpc_program {
73 const char * name; /* protocol name */ 73 const char * name; /* protocol name */
74 u32 number; /* program number */ 74 u32 number; /* program number */
75 unsigned int nrvers; /* number of versions */ 75 unsigned int nrvers; /* number of versions */
76 struct rpc_version ** version; /* version array */ 76 const struct rpc_version ** version; /* version array */
77 struct rpc_stat * stats; /* statistics */ 77 struct rpc_stat * stats; /* statistics */
78 const char * pipe_dir_name; /* path to rpc_pipefs dir */ 78 const char * pipe_dir_name; /* path to rpc_pipefs dir */
79}; 79};
@@ -109,7 +109,7 @@ struct rpc_create_args {
109 struct sockaddr *saddress; 109 struct sockaddr *saddress;
110 const struct rpc_timeout *timeout; 110 const struct rpc_timeout *timeout;
111 const char *servername; 111 const char *servername;
112 struct rpc_program *program; 112 const struct rpc_program *program;
113 u32 prognumber; /* overrides program->number */ 113 u32 prognumber; /* overrides program->number */
114 u32 version; 114 u32 version;
115 rpc_authflavor_t authflavor; 115 rpc_authflavor_t authflavor;
@@ -128,7 +128,7 @@ struct rpc_create_args {
128 128
129struct rpc_clnt *rpc_create(struct rpc_create_args *args); 129struct rpc_clnt *rpc_create(struct rpc_create_args *args);
130struct rpc_clnt *rpc_bind_new_program(struct rpc_clnt *, 130struct rpc_clnt *rpc_bind_new_program(struct rpc_clnt *,
131 struct rpc_program *, u32); 131 const struct rpc_program *, u32);
132void rpc_task_reset_client(struct rpc_task *task, struct rpc_clnt *clnt); 132void rpc_task_reset_client(struct rpc_task *task, struct rpc_clnt *clnt);
133struct rpc_clnt *rpc_clone_client(struct rpc_clnt *); 133struct rpc_clnt *rpc_clone_client(struct rpc_clnt *);
134void rpc_shutdown_client(struct rpc_clnt *); 134void rpc_shutdown_client(struct rpc_clnt *);