commit | 149fa74db5dee6c13c97c55db3515941c0f43684 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Tue Nov 08 10:01:25 2022 -0800 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Tue Nov 08 10:02:12 2022 -0800 |
tree | b144d18c730d7677fa10ebfe8df1cb0cff06e683 | |
parent | b190f3cbe168df775705c2ce24fdbd69a7f15975 [diff] |
Fsync on directory after rename() call rename() isn't necessarily atomic, call fsync() on the directory to ensure that changes in fs structure hit the disk. Test: th Bug: 254211456 Change-Id: I2de842f03766a1108e0f54581738fb964989658a