From a46e9ea29c1d055ae258a0c44886495ac7bdb310 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Fri, 12 Dec 2008 16:57:27 -0500 Subject: [PATCH] --- yaml --- r: 127481 b: refs/heads/master c: 9e074856caf13ba83363f73759f5e395f74ccf41 h: refs/heads/master i: 127479: 688eef0f4d494c698b78e49c37e0397ca8986951 v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfsctl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 34aa4e5d8180..c68bb4db8373 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 54224f04ae95d86b27c0673cd773ebb120d86876 +refs/heads/master: 9e074856caf13ba83363f73759f5e395f74ccf41 diff --git a/trunk/fs/nfsd/nfsctl.c b/trunk/fs/nfsd/nfsctl.c index 498d763b9320..856b8646a480 100644 --- a/trunk/fs/nfsd/nfsctl.c +++ b/trunk/fs/nfsd/nfsctl.c @@ -439,9 +439,9 @@ static ssize_t write_threads(struct file *file, char *buf, size_t size) rv = get_int(&mesg, &newthreads); if (rv) return rv; - if (newthreads <0) + if (newthreads < 0) return -EINVAL; - rv = nfsd_svc(2049, newthreads); + rv = nfsd_svc(NFS_PORT, newthreads); if (rv) return rv; }