diff options
author | sandeen@sandeen.net <sandeen@sandeen.net> | 2008-11-25 22:20:16 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-02 01:17:43 -0500 |
commit | 710d62aaaf17c841b8bdbc7a775f8910a7160248 (patch) | |
tree | 52bd778a094fa5ade3a0ea4a5cc9a0bd39c35c60 /fs/xfs/linux-2.6/xfs_ioctl32.h | |
parent | 28750975ace79c547407a84d3969cbed516be8f8 (diff) |
[XFS] Hook up compat XFS_IOC_FSSETDM_BY_HANDLE ioctl handler
Add a compat handler for XFS_IOC_FSSETDM_BY_HANDLE.
I haven't tested this, lacking dmapi tools to do so
(unless xfsqa magically gets this somehow?)
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.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl32.h b/fs/xfs/linux-2.6/xfs_ioctl32.h index 785e7ec318cf..af918749d186 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl32.h +++ b/fs/xfs/linux-2.6/xfs_ioctl32.h | |||
@@ -155,6 +155,15 @@ typedef struct compat_xfs_fsop_attrmulti_handlereq { | |||
155 | #define XFS_IOC_ATTRMULTI_BY_HANDLE_32 \ | 155 | #define XFS_IOC_ATTRMULTI_BY_HANDLE_32 \ |
156 | _IOW('X', 123, struct compat_xfs_fsop_attrmulti_handlereq) | 156 | _IOW('X', 123, struct compat_xfs_fsop_attrmulti_handlereq) |
157 | 157 | ||
158 | typedef struct compat_xfs_fsop_setdm_handlereq { | ||
159 | struct compat_xfs_fsop_handlereq hreq; /* handle information */ | ||
160 | /* ptr to struct fsdmidata */ | ||
161 | compat_uptr_t data; /* DMAPI data */ | ||
162 | } compat_xfs_fsop_setdm_handlereq_t; | ||
163 | |||
164 | #define XFS_IOC_FSSETDM_BY_HANDLE_32 \ | ||
165 | _IOW('X', 121, struct compat_xfs_fsop_setdm_handlereq) | ||
166 | |||
158 | #ifdef BROKEN_X86_ALIGNMENT | 167 | #ifdef BROKEN_X86_ALIGNMENT |
159 | /* on ia32 l_start is on a 32-bit boundary */ | 168 | /* on ia32 l_start is on a 32-bit boundary */ |
160 | typedef struct compat_xfs_flock64 { | 169 | typedef struct compat_xfs_flock64 { |