---
name: "jbd2_journal_lock_updates"
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_lock_updates"
---

# jbd2\_journal\_lock\_updates(9)

establish a transaction barrier.

## NAME

jbd2\_journal\_lock\_updates - establish a transaction barrier.

## SYNOPSIS

**void jbd2\_journal\_lock\_updates(journal\_t \*** *journal***);**

## ARGUMENTS

*journal*

Journal to establish a barrier on.

## DESCRIPTION

This locks out any further updates from being started, and blocks until all existing updates have completed, returning only once the journal is in a quiescent state with no updates running.

The journal lock should not be held on entry.

## AUTHORS

**Roger Gammans** \<rgammans@computer-surgery.co.uk\>

Author.

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

Author.

## COPYRIGHT
