Home | History | Annotate | Download | only in ext4_utils

Lines Matching full:inode

303 	struct ext4_inode *inode = get_inode(EXT4_RESIZE_INO);
304 if (inode == NULL) {
305 error("failed to get resize inode");
322 inode_attach_resize(inode, reserve_inode_alloc);
324 inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR;
325 inode->i_links_count = 1;
330 /* Allocate the blocks to hold a journal inode and connect them to the
331 reserved journal inode */
334 struct ext4_inode *inode = get_inode(EXT4_JOURNAL_INO);
335 if (inode == NULL) {
336 error("failed to get journal inode");
340 u8 *journal_data = inode_allocate_data_extents(inode,
348 inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR;
349 inode->i_links_count = 1;
360 memcpy(aux_info.sb->s_jnl_blocks, &inode->i_block, sizeof(inode->i_block));