2007-04-03 06:54:44

by Kalpak Shah

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Andreas Dilger <[email protected]>
Signed-off-by: Kalpak Shah <[email protected]>

Index: linux-2.6.19/include/linux/ext4_fs.h
===================================================================
--- linux-2.6.19.orig/include/linux/ext4_fs.h
+++ 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.