summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue_fs.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-10-12 22:29:50 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-10-12 22:29:50 +0000
commit7115686d6aea447a317575d2f95f0395fc373788 (patch)
tree21bd066e45b0b972639fe0f4cae729f86207b70f /usr.sbin/smtpd/queue_fs.c
parent367cf8a4ccac9702de9c285a0b1aae7a26b939d9 (diff)
do not call sync() when committing a message, it's not helping in any way
Diffstat (limited to 'usr.sbin/smtpd/queue_fs.c')
-rw-r--r--usr.sbin/smtpd/queue_fs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/queue_fs.c b/usr.sbin/smtpd/queue_fs.c
index 38d027cdcf2..690c7f5d014 100644
--- a/usr.sbin/smtpd/queue_fs.c
+++ b/usr.sbin/smtpd/queue_fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_fs.c,v 1.8 2015/01/20 17:37:54 deraadt Exp $ */
+/* $OpenBSD: queue_fs.c,v 1.9 2015/10/12 22:29:49 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
@@ -165,9 +165,6 @@ queue_fs_message_commit(uint32_t msgid, const char *path)
return 0;
}
- /* best effort */
- sync();
-
return 1;
}