diff options
author | Will Shiu <Will.Shiu@mediatek.com> | 2020-07-29 17:14:18 +0800 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2020-08-12 09:34:40 -0700 |
commit | b35a59eb33bb335baddf367208f5c684b66d3c85 (patch) | |
tree | 1421ede4d676f9247f29b46df952c6144e11a8b0 | |
parent | b2dccf1e0de430806f6cd55a809143435b7e857b (diff) | |
download | extras-b35a59eb33bb335baddf367208f5c684b66d3c85.tar.gz |
ext4_utils: add declaration for ext4_bg_has_super_block()android-11.0.0_r46android-11.0.0_r43android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r30android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-c-release
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.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 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 |