diff options
author | Will Shiu <Will.Shiu@mediatek.com> | 2020-07-29 17:14:18 +0800 |
---|---|---|
committer | Denis Hsu <denis.hsu@mediatek.com> | 2020-08-05 09:20:06 +0000 |
commit | ea52c056b111ded889838d2d61012dcc928a871c (patch) | |
tree | fbfc236e5d9eeec39e147493bf6c1809a5c795e5 /ext4_utils | |
parent | 3eb0e555d742b60ef2922ae61ebdb837ef4aa305 (diff) | |
download | extras-ea52c056b111ded889838d2d61012dcc928a871c.tar.gz |
ext4_utils: add declaration for ext4_bg_has_super_block()
Add a declaration for ext4_bg_has_super_block() so that the
encrypt-in-place code in vold can use it to determine whether a backup
superblock is present in a block group.
Bug: 162479411
Bug: 161871210
Change-Id: Ic090bf4e88193b289b04c5254ddf661ef40b037e
Diffstat (limited to 'ext4_utils')
-rw-r--r-- | ext4_utils/include/ext4_utils/ext4_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/include/ext4_utils/ext4_utils.h b/ext4_utils/include/ext4_utils/ext4_utils.h index b8ddfe13..f5cfa2ab 100644 --- a/ext4_utils/include/ext4_utils/ext4_utils.h +++ b/ext4_utils/include/ext4_utils/ext4_utils.h @@ -125,7 +125,7 @@ int bitmap_get_bit(u8 *bitmap, u32 bit); // vold u64 get_block_device_size(int fd); // recovery int is_block_device_fd(int fd); // wipe.c u64 get_file_size(int fd); // fs_mgr - +int ext4_bg_has_super_block(int bg); int read_ext(int fd, int verbose); // vold #ifdef __cplusplus |