Beispiel #1
0
static ssize_t write_unexport(struct file *file, char *buf, size_t size)
{
	struct nfsctl_export *data;

	if (size < sizeof(*data))
		return -EINVAL;
	data = (struct nfsctl_export*)buf;
	return exp_unexport(data);
}
Beispiel #2
0
static inline int
nfsctl_unexport(struct nfsctl_export *data)
{
	return exp_unexport(data);
}