.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "JOURNAL_GET_WRITE_ACCESS" "" "06 October 2005" "" ""
.SH NAME
journal_get_write_access \- notify intent to modify a buffer for metadata (not data) update.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int journal_get_write_access (handle_t * \fIhandle\fB, struct buffer_head * \fIbh\fB, int * \fIcredits\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIhandle\fB\fR
transaction to add buffer modifications to
.TP
\fB\fIbh\fB\fR
bh to be used for metadata writes
.TP
\fB\fIcredits\fB\fR
-- undescribed --
.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're \fBwrite\fRing a buffer which is also part of a shared mapping.