Skip to content

Commit eed8e4c

Browse files
Shankari02brauner
authored andcommitted
rust: fs: update ARef and AlwaysRefCounted imports from sync::aref
Update call sites in the fs 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. Suggested-by: Benno Lossin <lossin@kernel.org> Link: Rust-for-Linux#1173 Acked-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com> Link: https://lore.kernel.org/20250814100101.304408-1-shankari.ak0208@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent bba9541 commit eed8e4c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rust/kernel/fs/file.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ use crate::{
1111
bindings,
1212
cred::Credential,
1313
error::{code::*, Error, Result},
14-
types::{ARef, AlwaysRefCounted, NotThreadSafe, Opaque},
14+
sync::aref::{ARef, AlwaysRefCounted},
15+
types::{NotThreadSafe, Opaque},
1516
};
1617
use core::ptr;
1718

0 commit comments

Comments
 (0)