Re: [PATCH v2 RESEND] bcachefs: use union for bch_compression_opt to make encode & decode easier

From: Kent Overstreet
Date: Tue Jul 08 2025 - 08:51:37 EST


On Tue, Jun 17, 2025 at 03:00:36PM +0800, George Hu wrote:
> Eliminate redundant encode & decode function by using union for
> bch_compression_opt, which reduces code complexity.
>
> Signed-off-by: George Hu <integral@xxxxxxxxxxxxx>

Applied to testing