other versions
JBD2_JOURNAL_INIT_DE(9) | The Linux Journalling API | JBD2_JOURNAL_INIT_DE(9) |
NAME¶
jbd2_journal_init_dev - creates and initialises a journal structureSYNOPSIS¶
journal_t * jbd2_journal_init_dev(struct block_device * bdev, struct block_device * fs_dev, unsigned long long start, int len, int blocksize);
ARGUMENTS¶
struct block_device * bdevBlock device on which to create the journal
struct block_device * fs_dev
Device which hold journalled filesystem for this
journal.
unsigned long long start
Block nr Start of journal.
int len
Length of the journal in blocks.
int blocksize
blocksize of journalling device
RETURN¶
a newly created journal_t *jbd2_journal_init_dev creates a journal which maps a fixed contiguous range of blocks on an arbitrary block device.
AUTHORS¶
Roger Gammans <rgammans@computer-surgery.co.uk>Author.
Stephen Tweedie <sct@redhat.com>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |