diff options
| author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-10-03 16:39:01 -0300 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-11-05 07:15:52 -0300 |
| commit | f8a6b022237a44f1dbfe8d8d8ea1b9ad307ee72c (patch) | |
| tree | dd0a0f208a8305e0988a8fec9e3e86dbc2ceab3e /io | |
| parent | cf73362a7e47a0c107bfd6fc386ac5a387c4c2f0 (diff) | |
linux: Update statx-generic.h with linux 6.16
It adds the new fields on generic statx struct from Linux commit
5d894321c49e61379189b0ff605f316e39cbd1e9.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'io')
| -rw-r--r-- | io/bits/types/struct_statx.h | 4 | ||||
| -rw-r--r-- | io/tst-statx.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/io/bits/types/struct_statx.h b/io/bits/types/struct_statx.h index aa862113cd..471c151eef 100644 --- a/io/bits/types/struct_statx.h +++ b/io/bits/types/struct_statx.h @@ -57,7 +57,9 @@ struct statx __uint32_t stx_atomic_write_unit_max; __uint32_t stx_atomic_write_segments_max; __uint32_t stx_dio_read_offset_align; - __uint64_t __statx_pad2[9]; + __uint32_t stx_atomic_write_unit_max_opt; + __uint32_t __statx_pad2; + __uint64_t __statx_pad3[8]; }; #endif /* __statx_defined */ diff --git a/io/tst-statx.c b/io/tst-statx.c index 465bc616d5..5cd2890c76 100644 --- a/io/tst-statx.c +++ b/io/tst-statx.c @@ -37,7 +37,8 @@ _Static_assert (offsetof (struct statx, stx_nlink) == 16, "statx nlink"); _Static_assert (offsetof (struct statx, stx_ino) == 32, "statx ino"); _Static_assert (offsetof (struct statx, stx_atime) == 64, "statx atime"); _Static_assert (offsetof (struct statx, stx_rdev_major) == 128, "statx rdev"); -_Static_assert (offsetof (struct statx, __statx_pad2) == 0xb8, "statx pad2"); +_Static_assert (offsetof (struct statx, __statx_pad2) == 188, "statx pad2"); +_Static_assert (offsetof (struct statx, __statx_pad3) == 192, "statx pad3"); #include "statx_generic.c" |
