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 /fs/nfsd/nfsctl.c | |
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 'fs/nfsd/nfsctl.c')
-rw-r--r-- | fs/nfsd/nfsctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 1f1c2159b802..b64a7fbfccf5 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
@@ -966,7 +966,8 @@ static ssize_t __write_ports_delfd(char *buf) | |||
966 | return -ENOMEM; | 966 | return -ENOMEM; |
967 | 967 | ||
968 | if (nfsd_serv != NULL) | 968 | if (nfsd_serv != NULL) |
969 | len = svc_sock_names(buf, nfsd_serv, toclose); | 969 | len = svc_sock_names(nfsd_serv, buf, |
970 | SIMPLE_TRANSACTION_LIMIT, toclose); | ||
970 | if (len >= 0) | 971 | if (len >= 0) |
971 | lockd_down(); | 972 | lockd_down(); |
972 | 973 | ||