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
Loading
Please register or sign in to comment