]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
samples: rust: debugfs: Update ARef imports to use sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Sun, 23 Nov 2025 09:24:37 +0000 (14:54 +0530)
committerDanilo Krummrich <dakr@kernel.org>
Thu, 18 Dec 2025 16:31:51 +0000 (17:31 +0100)
commit1b89d4a6bb4cd7cfd7eb2e3621f04fda956e4ef3
treeccbbf7c43b5884a534916457c09d5cb972eb5275
parent2da67beda68776842fd0a26f2374e42a5e9b12c8
samples: rust: debugfs: Update ARef imports to use sync::aref

Update call sites in `rust_debugfs.rs` to import `ARef`
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>
Link: https://patch.msgid.link/20251123092438.182251-10-shankari.ak0208@gmail.com
[ Add 'debugfs' to the commit subject; be consistent with the existing
  import style for now. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
samples/rust/rust_debugfs.rs