SUNRPC: pass buffer size to svc_sock_names()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 23 Apr 2009 23:32:40 +0000 (19:32 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 28 Apr 2009 17:54:28 +0000 (13:54 -0400)
commit8435d34dbbe75678c3cdad3d53b1e7996a79b3bf
treeefce3e51cb67c1d8ce39cd87bc22fbac8ee32cbe
parentbfba9ab4c64f0e5c33930711e6c073c285e01fcf
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>
fs/nfsd/nfsctl.c
include/linux/sunrpc/svcsock.h
net/sunrpc/svcsock.c