Skip to content

Commit 7dbe027

Browse files
committed
abis/linux: Define missing statx constants
1 parent 7dea033 commit 7dbe027

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

abis/linux/statx.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ struct statx_timestamp {
3131
#define STATX_MNT_ID 0x1000
3232
#define STATX_DIOALIGN 0x2000
3333
#define STATX_ALL 0xfff
34+
#define STATX_MNT_ID_UNIQUE 0x00004000U
35+
#define STATX_SUBVOL 0x00008000U
36+
#define STATX_WRITE_ATOMIC 0x00010000U
37+
#define STATX_DIO_READ_ALIGN 0x00020000U
3438

3539
#define STATX_ATTR_COMPRESSED 0x4
3640
#define STATX_ATTR_IMMUTABLE 0x10
@@ -41,6 +45,7 @@ struct statx_timestamp {
4145
#define STATX_ATTR_MOUNT_ROOT 0x2000
4246
#define STATX_ATTR_VERITY 0x100000
4347
#define STATX_ATTR_DAX 0x200000
48+
#define STATX_ATTR_WRITE_ATOMIC 0x00400000
4449

4550
struct statx {
4651
__mlibc_uint32 stx_mask;

0 commit comments

Comments
 (0)