Merge "trusty: rpmb_dev: Prevent desync between rpmb_dev and storageproxyd"
This commit is contained in:
commit
30b0838b70
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…
Reference in a new issue