summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsd.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-08-14 16:16:34 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-08-21 17:07:49 -0400
commit38af2cabb6285e1c44d2cc3165f150d2aa5f38a8 (patch)
tree92d32f93a16adabcc016e87a28bf0ea6e6df4a12 /fs/nfsd/nfsd.h
parent39b553013719fe6495cf5e496b827b2d712e4265 (diff)
downloadlinux-stable-38af2cabb6285e1c44d2cc3165f150d2aa5f38a8.tar.gz
linux-stable-38af2cabb6285e1c44d2cc3165f150d2aa5f38a8.tar.bz2
linux-stable-38af2cabb6285e1c44d2cc3165f150d2aa5f38a8.zip
nfsd: remove redundant "port" argument
"port" in all these functions is always NFS_PORT. nfsd can already be run on a nonstandard port using the "nfsd/portlist" interface. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r--fs/nfsd/nfsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h
index 36243a33f193..80d5ce40aadb 100644
--- a/fs/nfsd/nfsd.h
+++ b/fs/nfsd/nfsd.h
@@ -65,7 +65,7 @@ extern const struct seq_operations nfs_exports_op;
/*
* Function prototypes.
*/
-int nfsd_svc(unsigned short port, int nrservs);
+int nfsd_svc(int nrservs);
int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);
int nfsd_nrthreads(void);