]> Gentwo Git Trees - linux/.git/commit
rust,cred: update AlwaysRefCounted import to sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Sat, 16 Aug 2025 11:44:09 +0000 (17:14 +0530)
committerPaul Moore <paul@paul-moore.com>
Tue, 19 Aug 2025 19:59:36 +0000 (15:59 -0400)
commit046c56178a73ad7883fc38e6caa0474025c0fe86
tree2bcdf0bcf50360a8e312577c5d64ccfb8764c5b2
parente73f759d2e98c729ca6f98dad4ca6d7b9120e576
rust,cred: update AlwaysRefCounted import to sync::aref

Update the import of `AlwaysRefCounted` in `cred.rs` to use `sync::aref`
instead of `types`.

This is part of the ongoing effort to move `ARef` and
`AlwaysRefCounted` to the `sync` module for better modularity.

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>
Acked-by: Serge Hallyn <serge@hallyn.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
[PM: subj tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
rust/kernel/cred.rs