Merge "trusty: rpmb_dev: Prevent desync between rpmb_dev and storageproxyd" am: 30b0838b70 am: 85128d42c9 am: dba902a432
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1360681 Change-Id: Ia2b6166fd18de586a7ff0cf5c122f9111d9e4c04
This commit is contained in:
commit
283a2f42bf
1 changed files with 1 additions and 1 deletions
|
|
@ -591,7 +591,7 @@ int main(int argc, char** argv) {
|
|||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
open_flags = O_RDWR;
|
||||
open_flags = O_RDWR | O_SYNC;
|
||||
if (init) {
|
||||
open_flags |= O_CREAT | O_TRUNC;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue