diff options
author | sandeen@sandeen.net <sandeen@sandeen.net> | 2008-11-25 22:20:07 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-02 01:08:44 -0500 |
commit | ffae263a640b736a7206a0d7bd14ab44eb58cd28 (patch) | |
tree | 50befe3c25e6f01459d9968a4139f171e2e097b0 /fs/xfs/xfs_fs.h | |
parent | 743bb4650da9e2595d6cedd01c680b5b9398c74a (diff) |
[XFS] Move compat ioctl structs & numbers into xfs_ioctl32.h
This makes the c file less cluttered and a bit more
readable. Consistently name the ioctl number
macros with "_32" and the compatibility stuctures
with "_compat." Rename the helpers which simply
copy in the arg with "_copyin" for easy identification.
Finally, for a few of the existing helpers, modify them
so that they directly call the native ioctl helper
after userspace argument fixup.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_fs.h')
-rw-r--r-- | fs/xfs/xfs_fs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_fs.h b/fs/xfs/xfs_fs.h index 4ae03bae992f..589c41c38446 100644 --- a/fs/xfs/xfs_fs.h +++ b/fs/xfs/xfs_fs.h | |||
@@ -418,10 +418,6 @@ typedef struct xfs_handle { | |||
418 | #define XFS_IOC_GETXFLAGS FS_IOC_GETFLAGS | 418 | #define XFS_IOC_GETXFLAGS FS_IOC_GETFLAGS |
419 | #define XFS_IOC_SETXFLAGS FS_IOC_SETFLAGS | 419 | #define XFS_IOC_SETXFLAGS FS_IOC_SETFLAGS |
420 | #define XFS_IOC_GETVERSION FS_IOC_GETVERSION | 420 | #define XFS_IOC_GETVERSION FS_IOC_GETVERSION |
421 | /* 32-bit compat counterparts */ | ||
422 | #define XFS_IOC32_GETXFLAGS FS_IOC32_GETFLAGS | ||
423 | #define XFS_IOC32_SETXFLAGS FS_IOC32_SETFLAGS | ||
424 | #define XFS_IOC32_GETVERSION FS_IOC32_GETVERSION | ||
425 | 421 | ||
426 | /* | 422 | /* |
427 | * ioctl commands that replace IRIX fcntl()'s | 423 | * ioctl commands that replace IRIX fcntl()'s |