---
name: "jbd2_journal_stop"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/jbd2_journal_stop"
---

# jbd2\_journal\_stop(9)

complete a transaction

## 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@computer-surgery.co.uk\>

Author.

**Stephen Tweedie** \<sct@redhat.com\>

Author.

## COPYRIGHT
