Skip to contentSkip to conversation

Add i_version_hi for 64-bit version

PATCH New Kalpak Shah 1 participant 1 message Apr 3, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add i_version_hi for 64-bit version

Hi,

I have changed the i_version_hi field to a le32 and also cleaned up the whitespace.

This patch adds a 32-bit i_version_hi field to ext4_inode, which can be used for 64-bit inode versions.

include/linux/ext4_fs.h +1 -0
Index: linux-2.6.19/include/linux/ext4_fs.h
===================================================================
@@ -336,6 +336,7 @@ struct ext4_inode {
 	__le32  i_atime_extra;  /* extra Access time      (nsec << 2 | epoch) */
 	__le32  i_crtime;       /* File Creation time */
 	__le32  i_crtime_extra; /* extra File Creation time (nsec << 2 | epoch) */
+	__le32	i_version_hi;   /* high 32 bits for 64-bit version */
 };
 
 #define i_size_high	i_dir_acl

Thanks,
Kalpak Shah.