diff options
author | Randall Huang <huangrandall@google.com> | 2020-06-12 00:07:53 +0000 |
---|---|---|
committer | Randall Huang <huangrandall@google.com> | 2020-06-12 02:07:35 +0000 |
commit | 4e864e121640977cb6c1843121b796c6687249d4 (patch) | |
tree | ed7ff8c910d95174ed6c4746ff0eda26ba398afa /trusty/coverage/coverage_test.cpp | |
parent | 2d51d38224f888cee587e41622ac71b878d7c1bb (diff) |
Try to recover corrupted ext4 /data with backup superblock
If the superblock of /data is corrupted, fs_mgr would skip check_fs.
But, e2fsck actually may reference backup superblock to recover
the filesystem. This fix gives fs_mgr second chance to fix corrupted
ext4 /data.
Bug: 156200421
Test: boot with corrupted ext4 superblock
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: Ieb89e7274d772962fe37927dcd62567dd5aa4657
(cherry picked from commit 72abd7b246f733e5f417e2bc529c9b482c4a778b)
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions