Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e074856 authored by Chuck Lever's avatar Chuck Lever Committed by J. Bruce Fields
Browse files

NFSD: Replace open-coded integer with macro



Clean up: Instead of open-coding 2049, use the NFS_PORT macro.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 54224f04
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}