change permissions before fsync()
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 24 Apr 2018 11:23:12 +0000 (13:23 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 24 Apr 2018 11:34:22 +0000 (13:34 +0200)
commit16d42e06a948baedc7b64502a7b2e05fd1f918c0
tree199ebb9a564536747a917562cb28b5be885630de
parent78a99ab305daf5492cae936679e60682f7bacf92
change permissions before fsync()

Reorder the calls so that the metadata changes performed by
fchmod() are committed to disk (journal) the same way as the
data.
src/oftmpstream.cpp