You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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>
This commit is contained in:
committed by
Lachlan McIlroy
parent
743bb4650d
commit
ffae263a64
@@ -418,10 +418,6 @@ typedef struct xfs_handle {
|
||||
#define XFS_IOC_GETXFLAGS FS_IOC_GETFLAGS
|
||||
#define XFS_IOC_SETXFLAGS FS_IOC_SETFLAGS
|
||||
#define XFS_IOC_GETVERSION FS_IOC_GETVERSION
|
||||
/* 32-bit compat counterparts */
|
||||
#define XFS_IOC32_GETXFLAGS FS_IOC32_GETFLAGS
|
||||
#define XFS_IOC32_SETXFLAGS FS_IOC32_SETFLAGS
|
||||
#define XFS_IOC32_GETVERSION FS_IOC32_GETVERSION
|
||||
|
||||
/*
|
||||
* ioctl commands that replace IRIX fcntl()'s
|
||||
|
||||
Reference in New Issue
Block a user