summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-03 14:25:05 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-20 17:16:33 -0400
commitf2d9a55b1b83bce71416b3dca7cf013154c04251 (patch)
treeabd56d3806146548825ef56bdfb858c24e7caed7 /src
parent3f66d905c037e3fe31f7ca41a0c0039674b18696 (diff)
cmd_strip_alloc
Add a command for stripping allocation info for a filesystem. This is primarily to test codepaths used by the new image creation tool. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'src')
-rw-r--r--src/bcachefs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bcachefs.rs b/src/bcachefs.rs
index 548add0a..d318c8af 100644
--- a/src/bcachefs.rs
+++ b/src/bcachefs.rs
@@ -61,6 +61,7 @@ fn handle_c_command(mut argv: Vec<String>, symlink_cmd: Option<&str>) -> i32 {
"set-file-option" => c::cmd_setattr(argc, argv),
"show-super" => c::cmd_show_super(argc, argv),
"recover-super" => c::cmd_recover_super(argc, argv),
+ "strip-alloc" => c::cmd_strip_alloc(argc, argv),
"unlock" => c::cmd_unlock(argc, argv),
"version" => c::cmd_version(argc, argv),