From b35a59eb33bb335baddf367208f5c684b66d3c85 Mon Sep 17 00:00:00 2001 From: Will Shiu Date: Wed, 29 Jul 2020 17:14:18 +0800 Subject: 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 Merged-In: Ic090bf4e88193b289b04c5254ddf661ef40b037e Change-Id: Ic090bf4e88193b289b04c5254ddf661ef40b037e --- ext4_utils/include/ext4_utils/ext4_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext4_utils/include/ext4_utils/ext4_utils.h b/ext4_utils/include/ext4_utils/ext4_utils.h index 27156145..cf657877 100644 --- a/ext4_utils/include/ext4_utils/ext4_utils.h +++ b/ext4_utils/include/ext4_utils/ext4_utils.h @@ -131,7 +131,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 -- cgit v1.2.3