Lines Matching defs:inode
22 struct ext2_inode inode;
26 /* We need the inode bitmap to be loaded */
30 retval = ext2fs_read_inode(fs, from_ino, &inode);
37 inode.i_links_count = 1;
38 inode.i_mode = LINUX_S_IFREG | 0600;
39 inode.i_flags = EXT2_IMMUTABLE_FL;
41 inode.i_flags |= EXT4_EXTENTS_FL;
43 retval = ext2fs_write_new_inode(fs, to_ino, &inode);
50 /* unlink the old inode */
54 /* Clear out the original inode in the inode-table block. */
55 memset(&inode, 0, sizeof(struct ext2_inode));
56 ext2fs_write_inode(fs, from_ino, &inode);