mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
rust: debugfs: Add initial support for directories
Adds a `debugfs::Dir` type that can be used to create and remove DebugFS directories. The `Dir` handle automatically cleans up the directory on `Drop`. Signed-off-by: Matthew Maurer <mmaurer@google.com> Tested-by: Dirk Behme <dirk.behme@de.bosch.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20250904-debugfs-rust-v11-1-7d12a165685a@google.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
committed by
Danilo Krummrich
parent
4c48aed6df
commit
7f201ca18c
@@ -76,6 +76,7 @@ pub mod cpu;
|
||||
pub mod cpufreq;
|
||||
pub mod cpumask;
|
||||
pub mod cred;
|
||||
pub mod debugfs;
|
||||
pub mod device;
|
||||
pub mod device_id;
|
||||
pub mod devres;
|
||||
|
||||
Reference in New Issue
Block a user