commit | 480b570603df7c7b63372483923239f57a1468b4 | [log] [tgz] |
---|---|---|
author | Svet Ganov <svetoslavganov@google.com> | Thu Mar 02 18:52:28 2017 -0800 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Fri Mar 03 03:01:34 2017 +0000 |
tree | 7cc353e396a2e6ab05e2ee8d5884a44c718fb782 | |
parent | d11f127428a01dd86f5bb71797105b9b30be9e40 [diff] |
Add a missing write lock to settings state. Atomic file requires sync between writers otherwise we may end up with partially written settings file and no backup to recover. Test: not testable by how we hold a mutex bug:35915719 Change-Id: I97eebf869fa7e4989dcd2a29e4418c22706edcb8