aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_ioctl32.h
diff options
context:
space:
mode:
authorsandeen@sandeen.net <sandeen@sandeen.net>2008-11-25 22:20:14 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-12-02 01:16:45 -0500
commitebeecd2b04645a4b79e1bc00d69cf4f98e03a684 (patch)
treea605e3645d5573f6f1dc2a6cdaa5f026416bddec /fs/xfs/linux-2.6/xfs_ioctl32.h
parentaf819d27637119105213433881f158931e29620b (diff)
[XFS] Hook up compat XFS_IOC_ATTRLIST_BY_HANDLE ioctl handler
Add a compat handler for XFS_IOC_ATTRLIST_BY_HANDLE Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_ioctl32.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_ioctl32.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl32.h b/fs/xfs/linux-2.6/xfs_ioctl32.h
index 8b2a12a8e96f..bbf3a2cd8a7d 100644
--- a/fs/xfs/linux-2.6/xfs_ioctl32.h
+++ b/fs/xfs/linux-2.6/xfs_ioctl32.h
@@ -123,6 +123,18 @@ typedef struct compat_xfs_swapext {
123 123
124#define XFS_IOC_SWAPEXT_32 _IOWR('X', 109, struct compat_xfs_swapext) 124#define XFS_IOC_SWAPEXT_32 _IOWR('X', 109, struct compat_xfs_swapext)
125 125
126typedef struct compat_xfs_fsop_attrlist_handlereq {
127 struct compat_xfs_fsop_handlereq hreq; /* handle interface structure */
128 struct xfs_attrlist_cursor pos; /* opaque cookie, list offset */
129 __u32 flags; /* which namespace to use */
130 __u32 buflen; /* length of buffer supplied */
131 compat_uptr_t buffer; /* returned names */
132} __compat_packed compat_xfs_fsop_attrlist_handlereq_t;
133
134/* Note: actually this is read/write */
135#define XFS_IOC_ATTRLIST_BY_HANDLE_32 \
136 _IOW('X', 122, struct compat_xfs_fsop_attrlist_handlereq)
137
126#ifdef BROKEN_X86_ALIGNMENT 138#ifdef BROKEN_X86_ALIGNMENT
127/* on ia32 l_start is on a 32-bit boundary */ 139/* on ia32 l_start is on a 32-bit boundary */
128typedef struct compat_xfs_flock64 { 140typedef struct compat_xfs_flock64 {