aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAndreas Hindborg <a.hindborg@kernel.org>2025-09-02 11:55:00 +0200
committerJens Axboe <axboe@kernel.dk>2025-09-02 05:23:56 -0600
commit60e1eeed8b53f65ef7919fd3f79cc9b7f20795c5 (patch)
tree311910517dcef8b6c18a735abfbe2b38cf88d65e /samples
parentrust: str: introduce `kstrtobool` function (diff)
downloadlinux-60e1eeed8b53f65ef7919fd3f79cc9b7f20795c5.tar.gz
linux-60e1eeed8b53f65ef7919fd3f79cc9b7f20795c5.zip
rust: configfs: re-export `configfs_attrs` from `configfs` module
Re-export `configfs_attrs` from `configfs` module, so that users can import the macro from the `configfs` module rather than the root of the `kernel` crate. Also update users to import from the new path. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com> Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org> Link: https://lore.kernel.org/r/20250902-rnull-up-v6-16-v7-6-b5212cc89b98@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples')
-rw-r--r--samples/rust/rust_configfs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/rust/rust_configfs.rs b/samples/rust/rust_configfs.rs
index af04bfa35cb2..ad364fb93e53 100644
--- a/samples/rust/rust_configfs.rs
+++ b/samples/rust/rust_configfs.rs
@@ -5,7 +5,7 @@
use kernel::alloc::flags;
use kernel::c_str;
use kernel::configfs;
-use kernel::configfs_attrs;
+use kernel::configfs::configfs_attrs;
use kernel::new_mutex;
use kernel::page::PAGE_SIZE;
use kernel::prelude::*;