commit | 29b54aab8ee2d08e2129832364f9b719dd17fa4e | [log] [tgz] |
---|---|---|
author | Paul Lawrence <paullawrence@google.com> | Tue May 05 14:28:25 2015 -0700 |
committer | Paul Lawrence <paullawrence@google.com> | Tue May 05 14:28:25 2015 -0700 |
tree | 58387f4ee3c69a6dd253e7d632d5fc47b2a1e3a1 | |
parent | 4571383cbf711df21d99529448277966e7ffb11e [diff] [blame] |
Retry unmounts in ext4 encryption Bug: 18151196 Change-Id: I52ca23b2ce3adcff44bd003d4a12243a0bd6ac34
diff --git a/cryptfs.c b/cryptfs.c index 13ccd6c..5598671 100644 --- a/cryptfs.c +++ b/cryptfs.c
@@ -1446,7 +1446,7 @@ return encrypt_master_key(passwd, salt, key_buf, master_key, crypt_ftr); } -static int wait_and_unmount(char *mountpoint, bool kill) +int wait_and_unmount(const char *mountpoint, bool kill) { int i, err, rc; #define WAIT_UNMOUNT_COUNT 20