diff options
author | Kees Cook <keescook@chromium.org> | 2013-02-21 10:38:46 -0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-02-21 17:41:59 -0800 |
commit | e6cf2c21a1cd6fc46b6adcaadc865e2f8bd4874e (patch) | |
tree | 20f81ac36c91744e00338dd93ccf1c25ad5d9b13 /firmware/lib/include/vboot_kernel.h | |
parent | c9bf348239af9bcf6c1e9eb6b83cd0ad9b3ea084 (diff) | |
download | vboot-e6cf2c21a1cd6fc46b6adcaadc865e2f8bd4874e.tar.gz |
mount-encrypted: issue sync()s between umount stages
In an effort to reduce the chances of a kernel bug wrecking filesystems
during encrypted-stateful shutdown, add explicit sync() calls during
shutdown.
BUG=chrome-os-partner:17610
TEST=link build, shutdown with simulated panic in LOOP_CLR_FD results in
successful journal replays
BRANCH=None
Change-Id: I4be981ebd0270d275ae81a79e3195bc72b70d984
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/43736
Reviewed-by: Grant Grundler <grundler@chromium.org>
Diffstat (limited to 'firmware/lib/include/vboot_kernel.h')
0 files changed, 0 insertions, 0 deletions