diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-08-14 16:16:34 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-08-21 17:07:49 -0400 |
commit | 38af2cabb6285e1c44d2cc3165f150d2aa5f38a8 (patch) | |
tree | 92d32f93a16adabcc016e87a28bf0ea6e6df4a12 /fs/nfsd/nfsctl.c | |
parent | 39b553013719fe6495cf5e496b827b2d712e4265 (diff) | |
download | op-kernel-dev-38af2cabb6285e1c44d2cc3165f150d2aa5f38a8.zip op-kernel-dev-38af2cabb6285e1c44d2cc3165f150d2aa5f38a8.tar.gz |
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/nfsctl.c')
-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 009632a..89be13c9 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -406,7 +406,7 @@ static ssize_t write_threads(struct file *file, char *buf, size_t size) return rv; if (newthreads < 0) return -EINVAL; - rv = nfsd_svc(NFS_PORT, newthreads); + rv = nfsd_svc(newthreads); if (rv < 0) return rv; } else |