paul@181 | 1 | /* |
paul@181 | 2 | * project.h |
paul@181 | 3 | * |
paul@181 | 4 | * %Begin-Header% |
paul@181 | 5 | * This file may be redistributed under the terms of the GNU Library |
paul@181 | 6 | * General Public License, version 2. |
paul@181 | 7 | * %End-Header% |
paul@181 | 8 | */ |
paul@181 | 9 | |
paul@181 | 10 | #include <ext2fs/ext2_fs.h> |
paul@181 | 11 | |
paul@181 | 12 | #if defined(__linux__) && !defined(FS_IOC_FSGETXATTR) |
paul@181 | 13 | #define FS_IOC_FSGETXATTR _IOR('X', 31, struct fsxattr) |
paul@181 | 14 | #define FS_IOC_FSSETXATTR _IOW('X', 32, struct fsxattr) |
paul@181 | 15 | |
paul@181 | 16 | /* |
paul@181 | 17 | * Structure for FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR. |
paul@181 | 18 | */ |
paul@181 | 19 | struct fsxattr { |
paul@181 | 20 | __u32 fsx_xflags; /* xflags field value (get/set) */ |
paul@181 | 21 | __u32 fsx_extsize; /* extsize field value (get/set)*/ |
paul@181 | 22 | __u32 fsx_nextents; /* nextents field value (get) */ |
paul@181 | 23 | __u32 fsx_projid; /* project identifier (get/set) */ |
paul@181 | 24 | unsigned char fsx_pad[12]; |
paul@181 | 25 | }; |
paul@181 | 26 | #endif |
paul@181 | 27 | |