Subject: Re: [PATCH] object-file: use `container_of()` to convert from base types

From: Patrick Steinhardt <[email-masked]>
Date: Thu, 19 Feb 2026 14:43:14 +0100

On Wed, Feb 18, 2026 at 03:01:20PM -0600, Justin Tobler wrote:
> To improve code hygiene, replace direct casts from `struct
> odb_transaction` and `struct odb_read_stream` to their concrete
> implementations with `container_of()`.

Right. The reason we want to do this is so that we become independent of
the order in which members in `struct odb_read_stream` are declared.

The changes all look good to me, thanks!

Patrick