]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
mdbox: Fix fdatasync() path when saving mails
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 20 Jun 2023 15:24:34 +0000 (18:24 +0300)
committerDovecot Automation <automation@dovecot.org>
Wed, 21 Jun 2023 12:12:18 +0000 (12:12 +0000)
commita8424a71d70e2f5c54d9e2aab8338cf9547b15b4
tree4b738d2561de0b613a749fe2563c04d287de89df
parentc6935e5ef24524a778050bdf07335c635913e9ec
mdbox: Fix fdatasync() path when saving mails

It was supposed to be called on the parent directory of where mails were
written, i.e. storage/ directory. The previous code was instead calling it
on the mailbox-specific directory (similarly to sdbox) where nothing was
written.
src/lib-storage/index/dbox-multi/mdbox-save.c