aboutsummaryrefslogtreecommitdiffstats
path: root/debugfs/debugfs.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-15 13:38:41 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-16 10:32:02 -0400
commit16c581d0e8d931f3cf0005de07481d7380ca4c0c (patch)
tree8fc74cbbf06fcc52d235b29dd0057454445d7c3a /debugfs/debugfs.h
parent89efc88e65136ece22708cc28ec4124a33feeecd (diff)
downloadandroid_external_e2fsprogs-16c581d0e8d931f3cf0005de07481d7380ca4c0c.tar.gz
android_external_e2fsprogs-16c581d0e8d931f3cf0005de07481d7380ca4c0c.tar.bz2
android_external_e2fsprogs-16c581d0e8d931f3cf0005de07481d7380ca4c0c.zip
debugfs: add 64-bit support to the set_field commands
The set_fields commands (set_super_value, set_inode_field, set_block_group) now handle fields which store in split fields on ext4's on-disk format. For example, the superblock fields s_blocks_count and s_blocks_count_hi. The user can either set the low or high part of the field via "blocks_count_lo" or "blocks_count_hi", or both parts can be set via "blocks_count". Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debugfs/debugfs.h')
-rw-r--r--debugfs/debugfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/debugfs/debugfs.h b/debugfs/debugfs.h
index 0ea24748..24c4dcee 100644
--- a/debugfs/debugfs.h
+++ b/debugfs/debugfs.h
@@ -50,6 +50,8 @@ extern int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
const char *cmd, int bufsize);
extern int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode,
const char *cmd);
+extern int debugfs_write_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
+ const char *cmd, int bufsize);
extern int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode,
const char *cmd);