other versions
JBD2_JOURNAL_GET_WRI(9) | The Linux Journalling API | JBD2_JOURNAL_GET_WRI(9) |
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_t * handle
transaction to add buffer modifications to
struct buffer_head * 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 writeing 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¶
September 2017 | Kernel Hackers Manual 4.12 |