bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2008-2018 Dovecot authors, see the included COPYING file */
bb41db071dcbc51a6f170d7f44afb74adb00f89aTimo Sirainen /* Directories need to be opened as read-only.
bb41db071dcbc51a6f170d7f44afb74adb00f89aTimo Sirainen fsync() doesn't appear to care about it. */
211c638d81d382517d196ad47565e0d85012c927klemens /* Some OSes/FSes don't allow fsyncing directories. Silently
847db5fdd70f77ba19d887e64a0e91a8306853ceTimo Sirainen ignore the problem. */
847db5fdd70f77ba19d887e64a0e91a8306853ceTimo Sirainen /* e.g. NetBSD */
847db5fdd70f77ba19d887e64a0e91a8306853ceTimo Sirainen /* e.g. Linux+CIFS */