Lines Matching refs:journal_inode
2294 struct inode *journal_inode; in ext4_parse_param() local
2311 journal_inode = d_inode(path.dentry); in ext4_parse_param()
2312 ctx->journal_devnum = new_encode_dev(journal_inode->i_rdev); in ext4_parse_param()
5755 struct inode *journal_inode; in ext4_get_journal_inode() local
5762 journal_inode = ext4_iget(sb, journal_inum, EXT4_IGET_SPECIAL); in ext4_get_journal_inode()
5763 if (IS_ERR(journal_inode)) { in ext4_get_journal_inode()
5765 return ERR_CAST(journal_inode); in ext4_get_journal_inode()
5767 if (!journal_inode->i_nlink) { in ext4_get_journal_inode()
5768 make_bad_inode(journal_inode); in ext4_get_journal_inode()
5769 iput(journal_inode); in ext4_get_journal_inode()
5773 if (!S_ISREG(journal_inode->i_mode) || IS_ENCRYPTED(journal_inode)) { in ext4_get_journal_inode()
5775 iput(journal_inode); in ext4_get_journal_inode()
5780 journal_inode, journal_inode->i_size); in ext4_get_journal_inode()
5781 return journal_inode; in ext4_get_journal_inode()
5809 struct inode *journal_inode; in ext4_open_inode_journal() local
5812 journal_inode = ext4_get_journal_inode(sb, journal_inum); in ext4_open_inode_journal()
5813 if (IS_ERR(journal_inode)) in ext4_open_inode_journal()
5814 return ERR_CAST(journal_inode); in ext4_open_inode_journal()
5816 journal = jbd2_journal_init_inode(journal_inode); in ext4_open_inode_journal()
5819 iput(journal_inode); in ext4_open_inode_journal()