@@ -292,14 +292,26 @@ cfg_if! {
292292 pub stx_mnt_id: crate :: __u64,
293293 pub stx_dio_mem_align: crate :: __u32,
294294 pub stx_dio_offset_align: crate :: __u32,
295+ // The following fields are not available on Android as of
296+ // August 6th 2025.
297+ #[ cfg( target_os = "linux" ) ]
295298 pub stx_subvol: crate :: __u64,
299+ #[ cfg( target_os = "linux" ) ]
296300 pub stx_atomic_write_unit_min: crate :: __u32,
301+ #[ cfg( target_os = "linux" ) ]
297302 pub stx_atomic_write_unit_max: crate :: __u32,
303+ #[ cfg( target_os = "linux" ) ]
298304 pub stx_atomic_write_segments_max: crate :: __u32,
305+ #[ cfg( target_os = "linux" ) ]
299306 pub stx_dio_read_offset_align: crate :: __u32,
307+ #[ cfg( target_os = "linux" ) ]
300308 pub stx_atomic_write_unit_max_opt: crate :: __u32,
309+ #[ cfg( target_os = "linux" ) ]
301310 __statx_pad2: [ crate :: __u32; 1 ] ,
311+ #[ cfg( target_os = "linux" ) ]
302312 __statx_pad3: [ crate :: __u64; 8 ] ,
313+ #[ cfg( not( target_os = "linux" ) ) ]
314+ __statx_pad3: [ crate :: __u64; 12 ] ,
303315 }
304316
305317 pub struct statx_timestamp {
0 commit comments