summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_ioctl32.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2019-11-12 17:04:28 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-13 18:22:40 -0800
commit35dab307c8e912306cf38d974d3c7f7adc090bce (patch)
treeb8ccd5c835e0d88adf4f7382f58f7c1a02801a7e /fs/xfs/xfs_ioctl32.h
parent1cc95e6f0d7cfd61c9d3c5cdd4e7345b173f764f (diff)
xfs: remove unused typedef definitions
Remove some typdefs for type_t's that are no longer referred to by their typedef'd types. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl32.h')
-rw-r--r--fs/xfs/xfs_ioctl32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_ioctl32.h b/fs/xfs/xfs_ioctl32.h
index 7985344d3aa6..13b1d4b967bb 100644
--- a/fs/xfs/xfs_ioctl32.h
+++ b/fs/xfs/xfs_ioctl32.h
@@ -99,7 +99,7 @@ typedef struct compat_xfs_fsop_handlereq {
_IOWR('X', 108, struct compat_xfs_fsop_handlereq)
/* The bstat field in the swapext struct needs translation */
-typedef struct compat_xfs_swapext {
+struct compat_xfs_swapext {
int64_t sx_version; /* version */
int64_t sx_fdtarget; /* fd of target file */
int64_t sx_fdtmp; /* fd of tmp file */
@@ -107,7 +107,7 @@ typedef struct compat_xfs_swapext {
xfs_off_t sx_length; /* leng from offset */
char sx_pad[16]; /* pad space, unused */
struct compat_xfs_bstat sx_stat; /* stat of target b4 copy */
-} __compat_packed compat_xfs_swapext_t;
+} __compat_packed;
#define XFS_IOC_SWAPEXT_32 _IOWR('X', 109, struct compat_xfs_swapext)