Commit 45dd05b3 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: BKEY_PADDED_ONSTACK()



Rust bindgen doesn't do anonymous structs very nicely: BKEY_PADDED()
only needs the anonymous struct when it's used on the stack, to
guarantee layout, not when it's embedded in another struct.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 2f528663
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment