/* Input: buf: C string containing a "-" followed by a transport name and an unsigned integer value representing the port to listen on, separated by whitespace size: non-zero length of C string in @buf Output: On success: returns zero; NFS service no longer listens on that transport On error: return code is a negative errno value  */
static ssize_t write_ports(struct file *file, char *buf, size_t size)
/* Input: buf: C string containing a "-" followed by a transport name and an unsigned integer value representing the port to listen on, separated by whitespace size: non-zero length of C string in @buf Output: On success: returns zero; NFS service no longer listens on that transport On error: return code is a negative errno value  */
static ssize_t write_ports(struct file *file, char *buf, size_t size)
{
	ssize_t rv;
	mutex_lock(&nfsd_mutex);
	rv = __write_ports(file, buf, size);
	mutex_unlock(&nfsd_mutex);
	return rv;
}