bcachefs: BKEY_PADDED_ONSTACK()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 5 Mar 2023 03:36:02 +0000 (22:36 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:55 +0000 (17:09 -0400)
commit45dd05b3ecc371560f9e36e4b57295ee338ee879
treeb4b456bfb9d1928a673d8e888cfb375c7d8a5002
parent2f528663c5abf101aae90b2adcce715bda424bfc
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: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs.h
fs/bcachefs/bcachefs_format.h
fs/bcachefs/btree_io.c
fs/bcachefs/btree_update_interior.c