xfs: add an x86 compat handler for XFS_IOC_ZERO_RANGE
authorChristoph Hellwig <hch@infradead.org>
Thu, 21 Apr 2011 13:21:03 +0000 (13:21 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 28 Apr 2011 18:27:46 +0000 (13:27 -0500)
commit8c1fdd0be5498f852e00c5fbd9cb0c3969e46cc6
tree72b9653c312f5c379ea886db6e52b28d6f60a67e
parent1a18a29478a38e5df382cd299f636187fde773ab
xfs: add an x86 compat handler for XFS_IOC_ZERO_RANGE

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@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_ioctl32.c
fs/xfs/linux-2.6/xfs_ioctl32.h