aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r--fs/nfsd/nfsctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index eff6a6b4c2f6..bc22e0b0343a 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)
503 int len = 0; 503 int len = 0;
504 lock_kernel(); 504 lock_kernel();
505 if (nfsd_serv) 505 if (nfsd_serv)
506 len = svc_sock_names(buf, nfsd_serv, NULL); 506 len = svc_xprt_names(nfsd_serv, buf, 0);
507 unlock_kernel(); 507 unlock_kernel();
508 return len; 508 return len;
509 } 509 }