summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Shiu <Will.Shiu@mediatek.com>2020-07-29 17:14:18 +0800
committerEric Biggers <ebiggers@google.com>2020-08-12 09:34:40 -0700
commitb35a59eb33bb335baddf367208f5c684b66d3c85 (patch)
tree1421ede4d676f9247f29b46df952c6144e11a8b0
parentb2dccf1e0de430806f6cd55a809143435b7e857b (diff)
downloadextras-android11-qpr2-release.tar.gz
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
-rw-r--r--ext4_utils/include/ext4_utils/ext4_utils.h2
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 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