---
name: "jbd2_journal_get_write_access"
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_get_write_access"
---

# jbd2\_journal\_get\_write\_access(9)

notify intent to modify a buffer for metadata (not data) update.

## NAME

jbd2\_journal\_get\_write\_access - notify intent to modify a buffer for metadata (not data) update.

## SYNOPSIS

**int jbd2\_journal\_get\_write\_access(handle\_t \*** *handle***, struct buffer\_head \*** *bh***);**

## ARGUMENTS

*handle*

transaction to add buffer modifications to

*bh*

bh to be used for metadata writes

## DESCRIPTION

Returns an error code or 0 on success.

In full data journalling mode the buffer may be of type BJ\_AsyncData, because we're **write**ing a buffer which is also part of a shared mapping.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
