Skip to content

Commit b771af2

Browse files
dgchinnerBen Myers
authored andcommitted
xfs: fix XFS_IOC_FREE_EOFBLOCKS definition
It uses a kernel internal structure in it's definition rather than the user visible structure that is passed to the ioctl. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
1 parent b313a5f commit b771af2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/xfs/xfs_fs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ typedef struct xfs_swapext
515515
/* XFS_IOC_GETBIOSIZE ---- deprecated 47 */
516516
#define XFS_IOC_GETBMAPX _IOWR('X', 56, struct getbmap)
517517
#define XFS_IOC_ZERO_RANGE _IOW ('X', 57, struct xfs_flock64)
518-
#define XFS_IOC_FREE_EOFBLOCKS _IOR ('X', 58, struct xfs_eofblocks)
518+
#define XFS_IOC_FREE_EOFBLOCKS _IOR ('X', 58, struct xfs_fs_eofblocks)
519519

520520
/*
521521
* ioctl commands that replace IRIX syssgi()'s

0 commit comments

Comments
 (0)