jbd2_journal_stop(9) - phpMan
JBD2_JOURNAL_STOP(9) The Linux Journalling API JBD2_JOURNAL_STOP(9)
NAME
jbd2_journal_stop - complete a transaction
SYNOPSIS
int jbd2_journal_stop(handle_t * handle);
ARGUMENTS
handle
transaction to complete.
DESCRIPTION
All done for a particular handle.
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.
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.
AUTHORS
Roger Gammans <rgammans AT computer-surgery.uk>
Author.
Stephen Tweedie <sct AT redhat.com>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 JBD2_JOURNAL_STOP(9)
|