Mercurial > dovecot > core-2.2
diff src/lib-fs/fs-api.h @ 20717:4e90ac53cd05
lib-fs: Moved fs_write_stream_abort_parent() to fs-api-private.h
Only fs wrapper drivers are supposed to call it.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Fri, 09 Sep 2016 02:50:27 +0300 |
parents | ff73fdd0558d |
children | 59a3ab804bcc |
line wrap: on
line diff
--- a/src/lib-fs/fs-api.h Thu Sep 08 19:01:54 2016 +0300 +++ b/src/lib-fs/fs-api.h Fri Sep 09 02:50:27 2016 +0300 @@ -277,9 +277,6 @@ void fs_write_stream_abort(struct fs_file *file, struct ostream **output); void fs_write_stream_abort_error(struct fs_file *file, struct ostream **output, const char *error_fmt, ...) ATTR_FORMAT(3, 4); -/* Same as above, except it closes the *parent* file and error is left untouched */ -void fs_write_stream_abort_parent(struct fs_file *file, struct ostream **output); - /* Set a hash to the following write. The storage can then verify that the input data matches the specified hash, or fail if it doesn't. Typically implemented by Content-MD5 header. */