mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
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>
This commit is contained in:
parent
e73f759d2e
commit
046c56178a
|
|
@ -8,11 +8,7 @@
|
|||
//!
|
||||
//! Reference: <https://www.kernel.org/doc/html/latest/security/credentials.html>
|
||||
|
||||
use crate::{
|
||||
bindings,
|
||||
task::Kuid,
|
||||
types::{AlwaysRefCounted, Opaque},
|
||||
};
|
||||
use crate::{bindings, sync::aref::AlwaysRefCounted, task::Kuid, types::Opaque};
|
||||
|
||||
/// Wraps the kernel's `struct cred`.
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user