1JOURNAL_STOP(9)            The Linux Journalling API           JOURNAL_STOP(9)
2
3
4

NAME

6       journal_stop - complete a transaction
7

SYNOPSIS

9       int journal_stop(handle_t * handle);
10

ARGUMENTS

12       handle
13           tranaction to complete.
14

DESCRIPTION

16       All done for a particular handle.
17
18       There is not much action needed here. We just return any remaining
19       buffer credits to the transaction and remove the handle. The only
20       complication is that we need to start a commit operation if the
21       filesystem is marked for synchronous update.
22
23       journal_stop itself will not usually return an error, but it may do so
24       in unusual circumstances. In particular, expect it to return -EIO if a
25       journal_abort has been executed since the transaction began.
26

AUTHORS

28       Roger Gammans <rgammans@computer-surgery.co.uk>
29           Author.
30
31       Stephen Tweedie <sct@redhat.com>
32           Author.
33
35Kernel Hackers Manual 2.6.       November 2011                 JOURNAL_STOP(9)
Impressum