/* Note: Only AF_INET client addresses are passed in, since nfsctl_client.cl_addrlist contains only in_addr fields for addresses.  */
static ssize_t write_add(struct file *file, char *buf, size_t size)
/* Note: Only AF_INET client addresses are passed in, since nfsctl_client.cl_addrlist contains only in_addr fields for addresses.  */
static ssize_t write_add(struct file *file, char *buf, size_t size)
{
	struct nfsctl_client *data;
	if (size < sizeof(*data))
		return -EINVAL;
	data = (struct nfsctl_client *)buf;
	return exp_addclient(data);
}