diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-04-23 19:32:40 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-04-28 13:54:28 -0400 |
commit | 8435d34dbbe75678c3cdad3d53b1e7996a79b3bf (patch) | |
tree | efce3e51cb67c1d8ce39cd87bc22fbac8ee32cbe /include/linux/sunrpc | |
parent | bfba9ab4c64f0e5c33930711e6c073c285e01fcf (diff) |
SUNRPC: pass buffer size to svc_sock_names()
Adjust the synopsis of svc_sock_names() to pass in the size of the
output buffer. Add a documenting comment.
This is a cosmetic change for now. A subsequent patch will make sure
the buffer length is passed to one_sock_name(), where the length will
actually be useful.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svcsock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h index e23241c53f42..827163138949 100644 --- a/include/linux/sunrpc/svcsock.h +++ b/include/linux/sunrpc/svcsock.h | |||
@@ -38,7 +38,9 @@ int svc_recv(struct svc_rqst *, long); | |||
38 | int svc_send(struct svc_rqst *); | 38 | int svc_send(struct svc_rqst *); |
39 | void svc_drop(struct svc_rqst *); | 39 | void svc_drop(struct svc_rqst *); |
40 | void svc_sock_update_bufs(struct svc_serv *serv); | 40 | void svc_sock_update_bufs(struct svc_serv *serv); |
41 | int svc_sock_names(char *buf, struct svc_serv *serv, char *toclose); | 41 | int svc_sock_names(struct svc_serv *serv, char *buf, |
42 | const size_t buflen, | ||
43 | const char *toclose); | ||
42 | int svc_addsock(struct svc_serv *serv, const int fd, | 44 | int svc_addsock(struct svc_serv *serv, const int fd, |
43 | char *name_return, const size_t len); | 45 | char *name_return, const size_t len); |
44 | void svc_init_xprt_sock(void); | 46 | void svc_init_xprt_sock(void); |