ext4: Add inode version support in ext4
authorJean Noel Cordenner <jean-noel.cordenner@bull.net>
Tue, 29 Jan 2008 04:58:27 +0000 (23:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jan 2008 04:58:27 +0000 (23:58 -0500)
commit25ec56b518257a56d2ff41a941d288e4b5ff9488
tree77e84d38a5ad242f9d73a006f009649f223378f1
parent7a224228ed79d587ece2304869000aad1b8e97dd
ext4: Add inode version support in ext4

This patch adds 64-bit inode version support to ext4. The lower 32 bits
are stored in the osd1.linux1.l_i_version field while the high 32 bits
are stored in the i_version_hi field newly created in the ext4_inode.
This field is incremented in case the ext4_inode is large enough. A
i_version mount option has been added to enable the feature.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: Kalpak Shah <kalpak@clusterfs.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Jean Noel Cordenner <jean-noel.cordenner@bull.net>
fs/ext4/inode.c
fs/ext4/super.c
fs/inode.c
include/linux/ext4_fs.h
include/linux/fs.h