diff options
author | Tom Tucker <tom@opengridcomputing.com> | 2007-12-30 21:08:37 -0600 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-02-01 16:42:14 -0500 |
commit | 9571af18fa1e4a431dc6f6023ddbd87d1112fd5d (patch) | |
tree | d8eafdea71ea1c13fe9c733442d41857e17901ac /fs | |
parent | a217813f9067b785241cb7f31956e51d2071703a (diff) | |
download | kernel_samsung_smdk4412-9571af18fa1e4a431dc6f6023ddbd87d1112fd5d.tar.gz kernel_samsung_smdk4412-9571af18fa1e4a431dc6f6023ddbd87d1112fd5d.tar.bz2 kernel_samsung_smdk4412-9571af18fa1e4a431dc6f6023ddbd87d1112fd5d.zip |
svc: Add svc_xprt_names service to replace svc_sock_names
Create a transport independent version of the svc_sock_names function.
The toclose capability of the svc_sock_names service can be implemented
using the svc_xprt_find and svc_xprt_close services.
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index eff6a6b4c2f..bc22e0b0343 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -503,7 +503,7 @@ static ssize_t write_ports(struct file *file, char *buf, size_t size) int len = 0; lock_kernel(); if (nfsd_serv) - len = svc_sock_names(buf, nfsd_serv, NULL); + len = svc_xprt_names(nfsd_serv, buf, 0); unlock_kernel(); return len; } |