From: Patrick Steinhardt Date: Thu, 19 Feb 2026 13:43:14 GMT Subject: Re: [PATCH] object-file: use `container_of()` to convert from base types Message-ID: In-Reply-To: <20260218210120.1146078-1-jltobler@gmail.com> 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