@@ -239,7 +239,12 @@ cfg_if! {
239
239
pub stx_mnt_id: crate :: __u64,
240
240
pub stx_dio_mem_align: crate :: __u32,
241
241
pub stx_dio_offset_align: crate :: __u32,
242
- __statx_pad3: [ crate :: __u64; 12 ] ,
242
+ pub stx_subvol: crate :: __u64,
243
+ pub stx_atomic_write_unit_min: crate :: __u32,
244
+ pub stx_atomic_write_unit_max: crate :: __u32,
245
+ pub stx_atomic_write_segments_max: crate :: __u32,
246
+ pub stx_dio_read_offset_align: crate :: __u32,
247
+ __statx_pad3: [ crate :: __u64; 9 ] ,
243
248
}
244
249
245
250
pub struct statx_timestamp {
@@ -1617,6 +1622,11 @@ cfg_if! {
1617
1622
pub const STATX_ALL : c_uint = 0x0fff ;
1618
1623
pub const STATX_MNT_ID : c_uint = 0x1000 ;
1619
1624
pub const STATX_DIOALIGN : c_uint = 0x2000 ;
1625
+ pub const STATX_MNT_ID_UNIQUE : c_uint = 0x4000 ;
1626
+ pub const STATX_SUBVOL : c_uint = 0x8000 ;
1627
+ pub const STATX_WRITE_ATOMIC : c_uint = 0x_0001_0000 ;
1628
+ // libc-test failure. Linux 6.14 to new?
1629
+ // pub const STATX_DIO_READ_ALIGN: c_uint = 0x_0002_0000;
1620
1630
pub const STATX__RESERVED : c_int = 0x80000000 ;
1621
1631
pub const STATX_ATTR_COMPRESSED : c_int = 0x0004 ;
1622
1632
pub const STATX_ATTR_IMMUTABLE : c_int = 0x0010 ;
@@ -1627,6 +1637,7 @@ cfg_if! {
1627
1637
pub const STATX_ATTR_MOUNT_ROOT : c_int = 0x2000 ;
1628
1638
pub const STATX_ATTR_VERITY : c_int = 0x100000 ;
1629
1639
pub const STATX_ATTR_DAX : c_int = 0x200000 ;
1640
+ pub const STATX_ATTR_WRITE_ATOMIC : c_int = 0x400000 ;
1630
1641
}
1631
1642
}
1632
1643
0 commit comments