@@ -267,7 +267,12 @@ cfg_if! {
267
267
pub stx_mnt_id: crate :: __u64,
268
268
pub stx_dio_mem_align: crate :: __u32,
269
269
pub stx_dio_offset_align: crate :: __u32,
270
- __statx_pad3: [ crate :: __u64; 12 ] ,
270
+ pub stx_subvol: crate :: __u64,
271
+ pub stx_atomic_write_unit_min: crate :: __u32,
272
+ pub stx_atomic_write_unit_max: crate :: __u32,
273
+ pub stx_atomic_write_segments_max: crate :: __u32,
274
+ __statx_pad2: [ crate :: __u32; 1 ] ,
275
+ __statx_pad3: [ crate :: __u64; 9 ] ,
271
276
}
272
277
273
278
pub struct statx_timestamp {
@@ -1679,6 +1684,9 @@ cfg_if! {
1679
1684
pub const STATX_ALL : c_uint = 0x0fff ;
1680
1685
pub const STATX_MNT_ID : c_uint = 0x1000 ;
1681
1686
pub const STATX_DIOALIGN : c_uint = 0x2000 ;
1687
+ pub const STATX_MNT_ID_UNIQUE : c_uint = 0x4000 ;
1688
+ pub const STATX_SUBVOL : c_uint = 0x8000 ;
1689
+ pub const STATX_WRITE_ATOMIC : c_uint = 0x10000 ;
1682
1690
pub const STATX__RESERVED : c_int = 0x80000000 ;
1683
1691
pub const STATX_ATTR_COMPRESSED : c_int = 0x0004 ;
1684
1692
pub const STATX_ATTR_IMMUTABLE : c_int = 0x0010 ;
@@ -1689,6 +1697,7 @@ cfg_if! {
1689
1697
pub const STATX_ATTR_MOUNT_ROOT : c_int = 0x2000 ;
1690
1698
pub const STATX_ATTR_VERITY : c_int = 0x100000 ;
1691
1699
pub const STATX_ATTR_DAX : c_int = 0x200000 ;
1700
+ pub const STATX_ATTR_WRITE_ATOMIC : c_int = 0x400000 ;
1692
1701
}
1693
1702
}
1694
1703
0 commit comments