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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index 498d763b9320..856b8646a480 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -439,9 +439,9 @@ static ssize_t write_threads(struct file *file, char *buf, size_t size)
439 rv = get_int(&mesg, &newthreads); 439 rv = get_int(&mesg, &newthreads);
440 if (rv) 440 if (rv)
441 return rv; 441 return rv;
442 if (newthreads <0) 442 if (newthreads < 0)
443 return -EINVAL; 443 return -EINVAL;
444 rv = nfsd_svc(2049, newthreads); 444 rv = nfsd_svc(NFS_PORT, newthreads);
445 if (rv) 445 if (rv)
446 return rv; 446 return rv;
447 } 447 }