summaryrefslogtreecommitdiff
path: root/ext2fs/ext2_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/ext2_fs.h')
-rw-r--r--ext2fs/ext2_fs.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ext2fs/ext2_fs.h b/ext2fs/ext2_fs.h
index 019ba154..90b1418d 100644
--- a/ext2fs/ext2_fs.h
+++ b/ext2fs/ext2_fs.h
@@ -534,6 +534,28 @@ struct ext2_dir_entry_2 {
#define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \
~EXT2_DIR_ROUND)
+/*
+ * second extended file system inode data in memory
+ */
+struct ext2_inode_info {
+ __u32 i_data[15];
+ __u32 i_flags;
+ __u32 i_faddr;
+ __u8 i_frag_no;
+ __u8 i_frag_size;
+ __u16 i_osync;
+ __u32 i_file_acl;
+ __u32 i_dir_acl;
+ __u32 i_dtime;
+ __u32 not_used_1; /* FIX: not used/ 2.2 placeholder */
+ __u32 i_block_group;
+ __u32 i_next_alloc_block;
+ __u32 i_next_alloc_goal;
+ __u32 i_prealloc_block;
+ __u32 i_prealloc_count;
+ int i_new_inode:1; /* Is a freshly allocated inode */
+};
+
#ifdef __KERNEL__
/*
* Function prototypes