'\" t .\" Title: jbd2_journal_stop .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: The Linux Journalling API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "JBD2_JOURNAL_STOP" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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" jbd2_journal_stop \- complete a transaction .SH "SYNOPSIS" .HP \w'int\ jbd2_journal_stop('u .BI "int jbd2_journal_stop(handle_t\ *\ " "handle" ");" .SH "ARGUMENTS" .PP \fIhandle\fR .RS 4 transaction 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 jbd2_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 jbd2_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