bcachefs: Make bch_option compatible with Rust ffi
authorBrett Holman <bholman.devel@gmail.com>
Tue, 3 May 2022 22:50:57 +0000 (16:50 -0600)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:32 +0000 (17:09 -0400)
commit372c11125a2e07485fcd4cb08601f24d8a3bc3c6
tree5247e30d2087d97244468d4ab81d6e07da640fb6
parentee4d17d0325c5806c7ef0f4b3c8604d5ebf65000
bcachefs: Make bch_option compatible with Rust ffi

Rust FFI lacks support for unnamed structs and unions. The space
saved in bch_option is not enough to be significant.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/opts.h