---
name: "jbd2_journal_init_inode"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/jbd2_journal_init_inode"
---

# jbd2\_journal\_init\_inode(9)

creates a journal which maps to a inode.

## 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
