diff --git a/src/lib-fs/fs-api-private.h b/src/lib-fs/fs-api-private.h index 7b2f149df6..3b084e5155 100644 --- a/src/lib-fs/fs-api-private.h +++ b/src/lib-fs/fs-api-private.h @@ -172,4 +172,8 @@ int fs_default_copy(struct fs_file *src, struct fs_file *dest); void fs_file_timing_end(struct fs_file *file, enum fs_op op); +/* Same as fs_write_stream_abort_error(), except it closes the *parent* file + and error is left untouched */ +void fs_write_stream_abort_parent(struct fs_file *file, struct ostream **output); + #endif diff --git a/src/lib-fs/fs-api.h b/src/lib-fs/fs-api.h index 6f1c67d491..c1e7b3f699 100644 --- a/src/lib-fs/fs-api.h +++ b/src/lib-fs/fs-api.h @@ -277,9 +277,6 @@ int fs_write_stream_finish_async(struct fs_file *file); 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. */