'\" t .\" Title: jbd2_journal_init_dev .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: The Linux Journalling API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "JBD2_JOURNAL_INIT_DE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The Linux Journalling API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" jbd2_journal_init_dev \- creates and initialises a journal structure .SH "SYNOPSIS" .HP \w'journal_t\ *\ jbd2_journal_init_dev('u .BI "journal_t * jbd2_journal_init_dev(struct\ block_device\ *\ " "bdev" ", struct\ block_device\ *\ " "fs_dev" ", unsigned\ long\ long\ " "start" ", int\ " "len" ", int\ " "blocksize" ");" .SH "ARGUMENTS" .PP \fIbdev\fR .RS 4 Block device on which to create the journal .RE .PP \fIfs_dev\fR .RS 4 Device which hold journalled filesystem for this journal\&. .RE .PP \fIstart\fR .RS 4 Block nr Start of journal\&. .RE .PP \fIlen\fR .RS 4 Length of the journal in blocks\&. .RE .PP \fIblocksize\fR .RS 4 blocksize of journalling device .RE .SH "RETURN" .PP a newly created journal_t * .PP jbd2_journal_init_dev creates a journal which maps a fixed contiguous range of blocks on an arbitrary block device\&. .SH "AUTHORS" .PP \fBRoger Gammans\fR <\&rgammans@computer-surgery.co.uk\&> .RS 4 Author. .RE .PP \fBStephen Tweedie\fR <\&sct@redhat.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br