static ssize_t write_del(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_delclient(data);
}
Exemple #2
0
static inline int
nfsctl_delclient(struct nfsctl_client *data)
{
	return exp_delclient(data);
}