scoutfs: move scoutfs_ioctl definition

We're going to be strictly enforcing matching format.h and ioctl.h
between userspace and kernel space.  Let's get the exported kernel
function definition out of ioctl.h.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2017-10-12 13:57:31 -07:00
committed by Mark Fasheh
parent d593e2caa0
commit 8bbb859f0c
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -1,8 +1,6 @@
#ifndef _SCOUTFS_IOCTL_H_
#define _SCOUTFS_IOCTL_H_
long scoutfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
/* XXX I have no idea how these are chosen. */
#define SCOUTFS_IOCTL_MAGIC 's'
+3
View File
@@ -77,4 +77,7 @@ int scoutfs_read_supers(struct super_block *sb,
void scoutfs_advance_dirty_super(struct super_block *sb);
int scoutfs_write_dirty_super(struct super_block *sb);
/* to keep this out of the ioctl.h public interface definition */
long scoutfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
#endif