diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-10-12 22:29:50 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-10-12 22:29:50 +0000 |
commit | 7115686d6aea447a317575d2f95f0395fc373788 (patch) | |
tree | 21bd066e45b0b972639fe0f4cae729f86207b70f /usr.sbin/smtpd/queue_fs.c | |
parent | 367cf8a4ccac9702de9c285a0b1aae7a26b939d9 (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.c | 5 |
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; } |