journal_start9
Obtain a new handle.
Usage
handle_t * journal_start(journal_t * journal, int nblocks);
Arguments
journal
Journal to start transaction on.
nblocks
number of block buffer we might modify
Overview
We make sure that the transaction can guarantee at least nblocks of modified buffers in the log. We block until the log can guarantee that much space.
This function is visible to journal users (like ext3fs), so is not called with the journal already locked.
Return a pointer to a newly allocated handle, or an ERR_PTR value on failure.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.