@@ -267,7 +267,12 @@ cfg_if! {
267267 pub stx_mnt_id: crate :: __u64,
268268 pub stx_dio_mem_align: crate :: __u32,
269269 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 ] ,
271276 }
272277
273278 pub struct statx_timestamp {
@@ -1679,6 +1684,9 @@ cfg_if! {
16791684 pub const STATX_ALL : c_uint = 0x0fff ;
16801685 pub const STATX_MNT_ID : c_uint = 0x1000 ;
16811686 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 ;
16821690 pub const STATX__RESERVED : c_int = 0x80000000 ;
16831691 pub const STATX_ATTR_COMPRESSED : c_int = 0x0004 ;
16841692 pub const STATX_ATTR_IMMUTABLE : c_int = 0x0010 ;
@@ -1689,6 +1697,7 @@ cfg_if! {
16891697 pub const STATX_ATTR_MOUNT_ROOT : c_int = 0x2000 ;
16901698 pub const STATX_ATTR_VERITY : c_int = 0x100000 ;
16911699 pub const STATX_ATTR_DAX : c_int = 0x200000 ;
1700+ pub const STATX_ATTR_WRITE_ATOMIC : c_int = 0x400000 ;
16921701 }
16931702}
16941703
0 commit comments