diff options
author | Matthew Maurer <mmaurer@google.com> | 2025-09-04 21:13:52 +0000 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-09-10 18:57:43 +0200 |
commit | 7f201ca18c825592e392596a2fca2374dd2a4dfe (patch) | |
tree | 74a798895b8290b8119961f56a7ab1fd40767b70 /samples/rust/rust_debugfs.rs | |
parent | 4c48aed6dfcd32ea23e52adc1072405a62facf46 (diff) |
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>
Diffstat (limited to 'samples/rust/rust_debugfs.rs')
0 files changed, 0 insertions, 0 deletions