@@ -239,7 +239,12 @@ cfg_if! {
239239 pub stx_mnt_id: crate :: __u64,
240240 pub stx_dio_mem_align: crate :: __u32,
241241 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+ __statx_pad2: [ crate :: __u32; 1 ] ,
247+ __statx_pad3: [ crate :: __u64; 9 ] ,
243248 }
244249
245250 pub struct statx_timestamp {
@@ -1593,6 +1598,9 @@ cfg_if! {
15931598 pub const STATX_ALL : c_uint = 0x0fff ;
15941599 pub const STATX_MNT_ID : c_uint = 0x1000 ;
15951600 pub const STATX_DIOALIGN : c_uint = 0x2000 ;
1601+ pub const STATX_MNT_ID_UNIQUE : c_uint = 0x4000 ;
1602+ pub const STATX_SUBVOL : c_uint = 0x8000 ;
1603+ pub const STATX_WRITE_ATOMIC : c_uint = 0x10000 ;
15961604 pub const STATX__RESERVED : c_int = 0x80000000 ;
15971605 pub const STATX_ATTR_COMPRESSED : c_int = 0x0004 ;
15981606 pub const STATX_ATTR_IMMUTABLE : c_int = 0x0010 ;
@@ -1603,6 +1611,7 @@ cfg_if! {
16031611 pub const STATX_ATTR_MOUNT_ROOT : c_int = 0x2000 ;
16041612 pub const STATX_ATTR_VERITY : c_int = 0x100000 ;
16051613 pub const STATX_ATTR_DAX : c_int = 0x200000 ;
1614+ pub const STATX_ATTR_WRITE_ATOMIC : c_int = 0x400000 ;
16061615 }
16071616}
16081617
0 commit comments