summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorKeun-young Park <keunyoung@google.com>2017-04-11 18:59:56 -0700
committerKeun-young Park <keunyoung@google.com>2017-04-14 17:33:25 -0700
commit835239a2c2424a6cfddcebfae0c16c156ae60d74 (patch)
tree97f5d2b3a73ea72c1b7f95fdb41699e2d205b209 /base/errors_unix.cpp
parentfb803d50d0b067488e0ef9673a19dd718850b56a (diff)
check ext4 magic before running next steps
- mount, e2fsck, tune2fs will all fail if magic number does not match. - mismatch always happen for FDE and is wasting boot-up time to try all and fail always. - skip mount steps if it has invalid magic number and do not record fs_stat either. - For ext4 fs with corrupt superblock, e2fsck refuses to do anything if superblock magic is invalid. So simply running e2fsck does not help anyway. bug: 36231950 Test: reboot ane check fs_mgr log from dmesg (cherry picked from commit 6000a3f65720757279707193d940c0942abfe9c7) Change-Id: Ia7120a188c316262da5fdb986c7d9c76db86aa7b
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions