'\" t .\" Title: jbd2_journal_get_write_access .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: The Linux Journalling API .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "JBD2_JOURNAL_GET_WRI" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "The Linux Journalling API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" jbd2_journal_get_write_access \- notify intent to modify a buffer for metadata (not data) update\&. .SH "SYNOPSIS" .HP \w'int\ jbd2_journal_get_write_access('u .BI "int jbd2_journal_get_write_access(handle_t\ *\ " "handle" ", struct\ buffer_head\ *\ " "bh" ");" .SH "ARGUMENTS" .PP \fIhandle_t * handle\fR .RS 4 transaction to add buffer modifications to .RE .PP \fIstruct buffer_head * bh\fR .RS 4 bh to be used for metadata writes .RE .SH "DESCRIPTION" .PP Returns an error code or 0 on success\&. .PP In full data journalling mode the buffer may be of type BJ_AsyncData, because we\*(Aqre \fBwrite\fRing a buffer which is also part of a shared mapping\&. .SH "AUTHORS" .PP \fBRoger Gammans\fR <\&rgammans@computer-surgery.co.uk\&> .RS 4 Author. .RE .PP \fBStephen Tweedie\fR <\&sct@redhat.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br