Re: [PATCH] rust: sync: Update ARef and AlwaysRefCounted imports from sync::aref

From: Benno Lossin
Date: Mon Aug 18 2025 - 18:17:33 EST


On Mon Aug 18, 2025 at 9:10 PM CEST, Shankari Anand wrote:
> Update the in-file reference of sync/aref.rs to import `ARef` and
> `AlwaysRefCounted` from `sync::aref` instead of `types`.
>
> This aligns with the ongoing effort to move `ARef` and
> `AlwaysRefCounted` to sync.
>
> Suggested-by: Benno Lossin <lossin@xxxxxxxxxx>
> Link: https://github.com/Rust-for-Linux/linux/issues/1173
> Fixes: 07dad44aa9a93 ("rust: kernel: move ARef and AlwaysRefCounted to sync::aref")
> Signed-off-by: Shankari Anand <shankari.ak0208@xxxxxxxxx>
> ---
> This follows the commit [1] which moves ARef and AlwaysRefCounted modules to sync/aref.rs.
>
> Apologies, I had missed out on changing the in-file reference call for the modules. This should fix that.
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=07dad44aa9a93b16af19e8609a10b241c352b440
> ---
> rust/kernel/sync/aref.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Benno Lossin <lossin@xxxxxxxxxx>

---
Cheers,
Benno