'\" t .\" Title: journal_stop .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: The Linux Journalling API .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "JOURNAL_STOP" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "The Linux Journalling API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" journal_stop \- complete a transaction .SH "SYNOPSIS" .HP \w'int\ journal_stop('u .BI "int journal_stop(handle_t\ *\ " "handle" ");" .SH "ARGUMENTS" .PP \fIhandle\fR .RS 4 tranaction to complete\&. .RE .SH "DESCRIPTION" .PP All done for a particular handle\&. .PP There is not much action needed here\&. We just return any remaining buffer credits to the transaction and remove the handle\&. The only complication is that we need to start a commit operation if the filesystem is marked for synchronous update\&. .PP journal_stop itself will not usually return an error, but it may do so in unusual circumstances\&. In particular, expect it to return \-EIO if a journal_abort has been executed since the transaction began\&. .SH "AUTHORS" .PP \fBRoger Gammans\fR <\&rgammans@computer-surgery.co.uk\&> .RS 4 Author. .RE .PP \fBStephen Tweedie\fR <\&sct@redhat.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br