Re: [PATCH v6 0/6] rust: add improved version of `ForeignOwnable::borrow_mut`

From: Miguel Ojeda
Date: Mon Jan 13 2025 - 18:53:32 EST


On Wed, Nov 20, 2024 at 12:46 PM Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> This is a re-submission of Alice's patch[0]. The leading commits are
> intended to improve the consistency and ergonomics of `ForeignOwnable`,
> and to split out the code movement originally included in the patch.
>
> `ForeignOwnable::borrow_mut` is a dependency of the memory backing
> feature of `rnull`, the Rust null block driver.
>
> Link: https://lore.kernel.org/all/20230710074642.683831-1-aliceryhl@xxxxxxxxxx/T/#u [0]
>
> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx>

Applied to `rust-next` -- thanks everyone!

[ Reworded title slightly. - Miguel ]

[ Reworded title slightly. - Miguel ]

[ Updated to `crate::ffi::`. Reworded title slightly. - Miguel ]

Cheers,
Miguel