1JOURNAL_INIT_DEV(9)        The Linux Journalling API       JOURNAL_INIT_DEV(9)
2
3
4

NAME

6       journal_init_dev - creates and initialises a journal structure
7

SYNOPSIS

9       journal_t * journal_init_dev(struct block_device * bdev,
10                                    struct block_device * fs_dev, int start,
11                                    int len, int blocksize);
12

ARGUMENTS

14       bdev
15           Block device on which to create the journal
16
17       fs_dev
18           Device which hold journalled filesystem for this journal.
19
20       start
21           Block nr Start of journal.
22
23       len
24           Length of the journal in blocks.
25
26       blocksize
27           blocksize of journalling device
28

RETURNS

30       a newly created journal_t *
31
32       journal_init_dev creates a journal which maps a fixed contiguous range
33       of blocks on an arbitrary block device.
34

AUTHORS

36       Roger Gammans <rgammans@computer-surgery.co.uk>
37           Author.
38
39       Stephen Tweedie <sct@redhat.com>
40           Author.
41
43Kernel Hackers Manual 2.6.         June 2019               JOURNAL_INIT_DEV(9)
Impressum