diff options
author | Kees Cook <keescook@chromium.org> | 2012-08-29 16:17:20 -0700 |
---|---|---|
committer | Luigi Semenzato <semenzato@chromium.org> | 2012-09-05 10:38:35 -0700 |
commit | ce8f96afc6ebb3bef14452a442d4e460625795f5 (patch) | |
tree | 2beda17d87c3f360dc9a0b1172fc5bd98d0f05f4 | |
parent | bd967e9752f9f40029bc6aebd9a8e7bb4c5a372a (diff) | |
download | vboot-ce8f96afc6ebb3bef14452a442d4e460625795f5.tar.gz |
mount-encrypted: mount with commit=600release-R22-2723.B
Mount with commit=600, just as the unencrypted stateful is mounted.
BUG=chrome-os-partner:13185
TEST=x86-alex build
Change-Id: I0cee85c8bdabccb6545ca2238f6d5a120300e3aa
Signed-off-by: Kees Cook <keescook@chromium.org>
(cherry picked from commit 82a17fb7c1dd7f043a296695e2867ff82d7c53ca)
Reviewed-on: https://gerrit.chromium.org/gerrit/32236
Tested-by: Luigi Semenzato <semenzato@chromium.org>
-rw-r--r-- | utility/mount-encrypted.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/mount-encrypted.c b/utility/mount-encrypted.c index f5d79aa5..10263b72 100644 --- a/utility/mount-encrypted.c +++ b/utility/mount-encrypted.c @@ -900,7 +900,7 @@ static int setup_encrypted(int mode) } if (mount(dmcrypt_dev, encrypted_mount, kEncryptedFSType, MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_RELATIME, - "discard")) { + "discard,commit=600")) { PERROR("mount(%s,%s)", dmcrypt_dev, encrypted_mount); goto dm_cleanup; } |