rust: task: update ARef and AlwaysRefCounted imports from sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Mon, 18 Aug 2025 13:25:51 +0000 (18:55 +0530)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 7 Sep 2025 22:11:19 +0000 (00:11 +0200)
commit4710b47988fc028e1eb92b73192cb1ec2a508c65
treeba5f5ccd99f1ad61c5a0b82dbaedac5f501b18e8
parent72b04a8af7fb11e0f12e52985543d7e699fd4406
rust: task: update ARef and AlwaysRefCounted imports from sync::aref

Update call sites in `task.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@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/task.rs