commit | 1b14f2ffa1ac960b42ee87cf57b3ae4039bc7a28 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Fri Jul 03 07:05:53 2020 +0100 |
committer | Zimuzo Ezeozue <zezeozue@google.com> | Fri Jul 03 08:56:39 2020 +0000 |
tree | c9cfbe419be86750a6caae841733d8c3d711f98f | |
parent | 8ea8488f78742bab100e24d5b291168aaefbd4d3 [diff] |
Discard O_APPEND flag during FUSE open/create With write_back_cache enabled, the kernel already handles the O_APPEND flag. Setting it on the lower fs fd can lead to file corruption with multiple FUSE threads writing. Test: Whatsapp backups without corruption Bug: 160284525 Bug: 160231482 Change-Id: Iba893e905fcbf0ef99e9ebc16d3341e692bb036d