commit | d3cac3443096c105cf1a1985677659105902cbdd | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Dec 14 15:53:25 2015 -0800 |
committer | Tao Bao <tbao@google.com> | Mon Dec 14 17:13:34 2015 -0800 |
tree | ebcae32374c84258018e995b10224c0f0eb6a78e | |
parent | e062645efa77ce3ab9ab802daee9e36b58e67bc4 [diff] |
updater: Use O_SYNC and fsync() for package_extract_file(). We are already using O_SYNC and fsync() for the recursive case (package_extract_dir()). Make it consistent for the single-file case. Bug: 20625549 Change-Id: I487736fe5a0647dd4a2428845e76bf642e0f0dff