jbd2_journal_start_reserved (9) - Linux Manuals

jbd2_journal_start_reserved: start reserved handle

NAME

jbd2_journal_start_reserved - start reserved handle

SYNOPSIS

int jbd2_journal_start_reserved(handle_t handle, unsigned int type, unsigned int line_no);

ARGUMENTS

handle

handle to start

type

-- undescribed --

line_no

-- undescribed --

DESCRIPTION

Start handle that has been previously reserved with jbd2_journal_reserve. This attaches handle to the running transaction (or creates one if there's not transaction running). Unlike jbd2_journal_start this function cannot block on journal commit, checkpointing, or similar stuff. It can block on memory allocation or frozen journal though.

Return 0 on success, non-zero on error - handle is freed in that case.

AUTHORS

Roger Gammans <rgammans [at] computer-surgery.co.uk>

Author.

Stephen Tweedie <sct [at] redhat.com>

Author.

COPYRIGHT