aboutsummaryrefslogtreecommitdiffstats
path: root/debugfs/ro_debug_cmds.ct
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-11-14 23:31:24 -0500
committerTheodore Ts'o <tytso@mit.edu>2011-11-18 22:12:12 -0500
commit5e96c5721d58acfbf9d76b62214f6ae421fe4e6b (patch)
tree5d844c04cb1df98e34224d0cc28928d9325e68ca /debugfs/ro_debug_cmds.ct
parente88c5a33a841026728fa7c9fcc4bcdca6580b495 (diff)
downloadandroid_external_e2fsprogs-5e96c5721d58acfbf9d76b62214f6ae421fe4e6b.tar.gz
android_external_e2fsprogs-5e96c5721d58acfbf9d76b62214f6ae421fe4e6b.tar.bz2
android_external_e2fsprogs-5e96c5721d58acfbf9d76b62214f6ae421fe4e6b.zip
debugfs: add the freefrag command
The freefrag command provides the functionality of e2freefrag on the currently open file system in debugfs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debugfs/ro_debug_cmds.ct')
-rw-r--r--debugfs/ro_debug_cmds.ct3
1 files changed, 3 insertions, 0 deletions
diff --git a/debugfs/ro_debug_cmds.ct b/debugfs/ro_debug_cmds.ct
index 4b16a67b..7eb552d4 100644
--- a/debugfs/ro_debug_cmds.ct
+++ b/debugfs/ro_debug_cmds.ct
@@ -15,6 +15,9 @@ request do_open_filesys, "Open a filesystem",
request do_close_filesys, "Close the filesystem",
close_filesys, close;
+request do_freefrag, "Report free space fragmentation",
+ freefrag, e2freefrag;
+
request do_show_super_stats, "Show superblock statistics",
show_super_stats, stats;