mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-04 15:33:38 +08:00
ccf028f2e7
Li Xi's patch was missing the sources for fgetproject.c and fsetproject.c. I've created replacement files which will service the purpose. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
28 lines
705 B
C
28 lines
705 B
C
/*
|
|
* project.h
|
|
*
|
|
* %Begin-Header%
|
|
* This file may be redistributed under the terms of the GNU Library
|
|
* General Public License, version 2.
|
|
* %End-Header%
|
|
*/
|
|
|
|
#include <ext2fs/ext2_fs.h>
|
|
|
|
#if defined(__linux__) && !defined(FS_IOC_FSGETXATTR)
|
|
#define FS_IOC_FSGETXATTR _IOR('X', 31, struct fsxattr)
|
|
#define FS_IOC_FSSETXATTR _IOW('X', 32, struct fsxattr)
|
|
|
|
/*
|
|
* Structure for FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR.
|
|
*/
|
|
struct fsxattr {
|
|
__u32 fsx_xflags; /* xflags field value (get/set) */
|
|
__u32 fsx_extsize; /* extsize field value (get/set)*/
|
|
__u32 fsx_nextents; /* nextents field value (get) */
|
|
__u32 fsx_projid; /* project identifier (get/set) */
|
|
unsigned char fsx_pad[12];
|
|
};
|
|
#endif
|
|
|