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); }
static inline int nfsctl_unexport(struct nfsctl_export *data) { return exp_unexport(data); }