[PATCH] xfs: add an x86 compat handler for XFS_IOC_ZERO_RANGE

Alex Elder aelder at sgi.com
Thu Apr 21 15:08:36 CDT 2011


On Thu, 2011-04-21 at 09:21 -0400, Christoph Hellwig wrote:
> XFS_IOC_ZERO_RANGE uses struct xfs_flock64, and thus requires argument
> translation for 32-bit binaries on x86.  Add the required
> XFS_IOC_ZERO_RANGE_32 defined and add it to the list of commands that
> require xfs_flock64 translation.  
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.  That case was simply missed in commit 44722352
(xfs: Introduce XFS_IOC_ZERO_RANGE).

Reviewed-by: Alex Elder <aelder at sgi.com>




More information about the xfs mailing list