Scroll to navigation

JBD2_JOURNAL_INIT_IN(9) The Linux Journalling API JBD2_JOURNAL_INIT_IN(9)

NAME

jbd2_journal_init_inode - creates a journal which maps to a inode.

SYNOPSIS

journal_t * jbd2_journal_init_inode(struct inode * inode);

ARGUMENTS

inode
An inode to create the journal in

DESCRIPTION

jbd2_journal_init_inode creates a journal which maps an on-disk inode as the journal. The inode must exist already, must support bmap and must have all data blocks preallocated.

AUTHORS

Roger Gammans <rgammans@computer-surgery.co.uk>
Author.

Stephen Tweedie <sct@redhat.com>

Author.

COPYRIGHT

April 2019 Kernel Hackers Manual 4.9.