]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: mm: update ARef and AlwaysRefCounted imports from sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Wed, 16 Jul 2025 09:11:58 +0000 (14:41 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Sep 2025 23:55:15 +0000 (16:55 -0700)
commit9907e1df31c0f4bdcebe16de809121baa754e5b5
tree7d762c534460b14736e899554f3eb7b32aaa473f
parent0b1bf60c324a8135f780d50bffb53d54f8863f88
rust: mm: update ARef and AlwaysRefCounted imports from sync::aref

Update call sites in the mm subsystem to import `ARef` and
`AlwaysRefCounted` from `sync::aref` instead of `types`.

This aligns with the ongoing effort to move `ARef` and `AlwaysRefCounted`
to sync.

Link: https://lkml.kernel.org/r/20250716091158.812860-1-shankari.ak0208@gmail.com
Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Suggested-by: Benno Lossin <lossin@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Acked-by: Alice Ryhl <aliceryhl@google.com>
Cc: Alex Gaynor <alex.gaynor@gmail.com>
Cc: Andreas Hindborg <a.hindborg@kernel.org>
Cc: Björn Roy Baron <bjorn3_gh@protonmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Gary Guo <gary@garyguo.net>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Trevor Gross <tmgross@umich.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
rust/kernel/mm.rs
rust/kernel/mm/mmput_async.rs