@@ -232,7 +232,12 @@ cfg_if! {
232232 pub stx_mnt_id: :: __u64,
233233 pub stx_dio_mem_align: :: __u32,
234234 pub stx_dio_offset_align: :: __u32,
235- __statx_pad3: [ :: __u64; 12 ] ,
235+ pub stx_subvol: :: __u64,
236+ pub stx_atomic_write_unit_min: :: __u32,
237+ pub stx_atomic_write_unit_max: :: __u32,
238+ pub stx_atomic_write_segments_max: :: __u32,
239+ __statx_pad2: [ :: __u32; 1 ] ,
240+ __statx_pad3: [ :: __u64; 9 ] ,
236241 }
237242
238243 pub struct statx_timestamp {
@@ -1590,6 +1595,9 @@ cfg_if! {
15901595 pub const STATX_ALL : :: c_uint = 0x0fff ;
15911596 pub const STATX_MNT_ID : :: c_uint = 0x1000 ;
15921597 pub const STATX_DIOALIGN : :: c_uint = 0x2000 ;
1598+ pub const STATX_MNT_ID_UNIQUE : :: c_uint = 0x4000 ;
1599+ pub const STATX_SUBVOL : :: c_uint = 0x8000 ;
1600+ pub const STATX_WRITE_ATOMIC : :: c_uint = 0x10000 ;
15931601 pub const STATX__RESERVED : :: c_int = 0x80000000 ;
15941602 pub const STATX_ATTR_COMPRESSED : :: c_int = 0x0004 ;
15951603 pub const STATX_ATTR_IMMUTABLE : :: c_int = 0x0010 ;
@@ -1600,6 +1608,7 @@ cfg_if! {
16001608 pub const STATX_ATTR_MOUNT_ROOT : :: c_int = 0x2000 ;
16011609 pub const STATX_ATTR_VERITY : :: c_int = 0x100000 ;
16021610 pub const STATX_ATTR_DAX : :: c_int = 0x200000 ;
1611+ pub const STATX_ATTR_WRITE_ATOMIC : :: c_int = 0x400000 ;
16031612 }
16041613}
16051614
0 commit comments