From ea52c056b111ded889838d2d61012dcc928a871c 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 Change-Id: Ic090bf4e88193b289b04c5254ddf661ef40b037e --- ext4_utils/include/ext4_utils/ext4_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext4_utils') 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 -- cgit v1.2.3