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