summaryrefslogtreecommitdiff
path: root/ext4_utils/contents.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-08-12 11:35:37 -0700
committerDoug Zongker <dougz@google.com>2014-08-12 16:05:53 -0700
commitbec598e982301bf2714d37b14e312c9845c7cc0c (patch)
tree975b689f83d24cad7dba7f29d5439f5bd9c85a11 /ext4_utils/contents.h
parent3776fefb4b35a46f8298821b1914e7e695e7219a (diff)
downloadextras-bec598e982301bf2714d37b14e312c9845c7cc0c.tar.gz
add option to make_ext4fs to record blocks for each file
Add the -B option to make_ext4fs, which causes it to record the block ranges used for each (regular) file in the image. We can use this information to construct more efficient block-based incremental OTAs. Bug: 16984795 Change-Id: I2a5325bb89948f63c76e93fdfa84c51f9b050104
Diffstat (limited to 'ext4_utils/contents.h')
-rw-r--r--ext4_utils/contents.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext4_utils/contents.h b/ext4_utils/contents.h
index 42720000..e57687e0 100644
--- a/ext4_utils/contents.h
+++ b/ext4_utils/contents.h
@@ -40,4 +40,6 @@ u32 make_link(const char *link);
int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime);
int inode_set_selinux(u32 inode_num, const char *secon);
int inode_set_capabilities(u32 inode_num, uint64_t capabilities);
+struct block_allocation* get_saved_allocation_chain();
+
#endif