1 /* 2 * linux/include/linux/ext2_fs_i.h 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * 9 * from 10 * 11 * linux/include/linux/minix_fs_i.h 12 * 13 * Copyright (C) 1991, 1992 Linus Torvalds 14 */ 15 16 #ifndef _LINUX_EXT2_FS_I 17 #define _LINUX_EXT2_FS_I 18 19 /* 20 * second extended file system inode data in memory 21 */ 22 struct ext2_inode_info { 23 __u32 i_data[15]; 24 __u32 i_flags; 25 __u32 i_faddr; 26 __u8 i_frag_no; 27 __u8 i_frag_size; 28 __u16 i_state; 29 __u32 i_file_acl; 30 __u32 i_dir_acl; 31 __u32 i_dtime; 32 __u32 i_block_group; 33 __u32 i_next_alloc_block; 34 __u32 i_next_alloc_goal; 35 __u32 i_prealloc_block; 36 __u32 i_prealloc_count; 37 __u32 i_dir_start_lookup; 38 }; 39 40 /* 41 * Inode dynamic state flags 42 */ 43 #define EXT2_STATE_NEW 0x00000001 /* inode is newly created */ 44 45 #endif /* _LINUX_EXT2_FS_I */ 46