]> Gentwo Git Trees - linux/.git/commit
rust: pid_namespace: update AlwaysRefCounted imports from sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Sat, 16 Aug 2025 12:23:23 +0000 (17:53 +0530)
committerChristian Brauner <brauner@kernel.org>
Tue, 19 Aug 2025 11:08:41 +0000 (13:08 +0200)
commitbba95412064207ea3a0ea1776daec6480e5f8b0f
treecf0eb6c2996403e67d1d69d298ac3826825f02d5
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
rust: pid_namespace: update AlwaysRefCounted imports from sync::aref

Update call sites in `pid_namespace.rs` to import
`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@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Link: https://lore.kernel.org/20250816122323.11657-1-shankari.ak0208@gmail.com
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
rust/kernel/pid_namespace.rs