[PATCH 1/6] Separated 64-bit i_version patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



64-bit-i_version.patch which only replaces the 32-bit i_version field in
the generic inode with a 64-bit i_version field. 

Signed-off-by: Jean Noel Cordenner <jean-noel.cordenner@xxxxxxxx>
Signed-off-by: Kalpak Shah <kalpak@xxxxxxxxxxxxx>
---
 fs.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

P.S. The VFS-level updates of the inode version are still in the
i_version_update_vfs.patch and this patch has been moved to the bottom
of the patch series.

This patch converts the 32-bit i_version in the generic inode to a 64-bit
i_version field.

Signed-off-by: Jean Noel Cordenner <jean-noel.cordenner@xxxxxxxx>
Signed-off-by: Kalpak Shah <kalpak@xxxxxxxxxxxxx>

Index: linux-2.6.21/include/linux/fs.h
===================================================================
--- linux-2.6.21.orig/include/linux/fs.h
+++ linux-2.6.21/include/linux/fs.h
@@ -549,7 +549,7 @@ struct inode {
 	uid_t			i_uid;
 	gid_t			i_gid;
 	dev_t			i_rdev;
-	unsigned long		i_version;
+	uint64_t		i_version;
 	loff_t			i_size;
 #ifdef __NEED_I_SIZE_ORDERED
 	seqcount_t		i_size_seqcount;

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux