forked from Minki/linux
NFSD: Replace open-coded integer with macro
Clean up: Instead of open-coding 2049, use the NFS_PORT macro. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
parent
54224f04ae
commit
9e074856ca
@ -441,7 +441,7 @@ static ssize_t write_threads(struct file *file, char *buf, size_t size)
|
||||
return rv;
|
||||
if (newthreads < 0)
|
||||
return -EINVAL;
|
||||
rv = nfsd_svc(2049, newthreads);
|
||||
rv = nfsd_svc(NFS_PORT, newthreads);
|
||||
if (rv)
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user