diff options
Diffstat (limited to 'fs/btrfs/ioctl.h')
-rw-r--r-- | fs/btrfs/ioctl.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/fs/btrfs/ioctl.h b/fs/btrfs/ioctl.h index 2da30d4950e6..252ae9915de8 100644 --- a/fs/btrfs/ioctl.h +++ b/fs/btrfs/ioctl.h | |||
@@ -198,24 +198,23 @@ struct btrfs_data_container { | |||
198 | __u32 bytes_missing; /* out -- additional bytes needed for result */ | 198 | __u32 bytes_missing; /* out -- additional bytes needed for result */ |
199 | __u32 elem_cnt; /* out */ | 199 | __u32 elem_cnt; /* out */ |
200 | __u32 elem_missed; /* out */ | 200 | __u32 elem_missed; /* out */ |
201 | union { | 201 | __u64 val[0]; /* out */ |
202 | char *str[0]; /* out */ | ||
203 | __u64 val[0]; /* out */ | ||
204 | }; | ||
205 | }; | 202 | }; |
206 | 203 | ||
207 | struct btrfs_ioctl_ino_path_args { | 204 | struct btrfs_ioctl_ino_path_args { |
208 | __u64 inum; /* in */ | 205 | __u64 inum; /* in */ |
209 | __u32 size; /* in */ | 206 | __u32 size; /* in */ |
210 | __u64 reserved[4]; | 207 | __u64 reserved[4]; |
211 | struct btrfs_data_container *fspath; /* out */ | 208 | /* struct btrfs_data_container *fspath; out */ |
209 | __u64 fspath; /* out */ | ||
212 | }; | 210 | }; |
213 | 211 | ||
214 | struct btrfs_ioctl_logical_ino_args { | 212 | struct btrfs_ioctl_logical_ino_args { |
215 | __u64 logical; /* in */ | 213 | __u64 logical; /* in */ |
216 | __u32 size; /* in */ | 214 | __u32 size; /* in */ |
217 | __u64 reserved[4]; | 215 | __u64 reserved[4]; |
218 | struct btrfs_data_container *inodes; /* out */ | 216 | /* struct btrfs_data_container *inodes; out */ |
217 | __u64 inodes; | ||
219 | }; | 218 | }; |
220 | 219 | ||
221 | #define BTRFS_IOC_SNAP_CREATE _IOW(BTRFS_IOCTL_MAGIC, 1, \ | 220 | #define BTRFS_IOC_SNAP_CREATE _IOW(BTRFS_IOCTL_MAGIC, 1, \ |