diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 19:49:00 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 19:49:00 -0500 |
commit | 596ec1050d0ce55f5e2d38aa8cdcb46d92178140 (patch) | |
tree | 26663d05f54f61c99fc4843f066beebae53add29 /libbcachefs/subvolume_types.h | |
parent | 93241a1c9a7dbef987f524a9dea3fc61e87e845b (diff) |
Update bcachefs sources to df6415fefb27 bcachefs: Fixes for rust bindgen
Diffstat (limited to 'libbcachefs/subvolume_types.h')
-rw-r--r-- | libbcachefs/subvolume_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbcachefs/subvolume_types.h b/libbcachefs/subvolume_types.h index 2d2e66a4..ae644adf 100644 --- a/libbcachefs/subvolume_types.h +++ b/libbcachefs/subvolume_types.h @@ -20,7 +20,11 @@ struct snapshot_t { }; struct snapshot_table { +#ifndef RUST_BINDGEN DECLARE_FLEX_ARRAY(struct snapshot_t, s); +#else + struct snapshot_t s[0]; +#endif }; typedef struct { |