Only fs wrapper drivers are supposed to call it.
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
write. */
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. */