Whamcloud - gitweb
Branch b1_8
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext3-inode-version-2.6.18-vanilla.patch
index 249a1e0..c7f3c44 100644 (file)
@@ -452,3 +452,15 @@ Index: linux-2.6.18/fs/ext3/xattr.h
  extern int init_ext3_xattr(void);
  extern void exit_ext3_xattr(void);
  
+Index: linux-2.6.18/fs/ext3/ialloc.c
+===================================================================
+--- linux-2.6.18.orig/fs/ext3/ialloc.c
++++ linux-2.6.18/fs/ext3/ialloc.c
+@@ -751,6 +751,7 @@ got:
+       ei->i_dtime = 0;
+       ei->i_block_alloc_info = NULL;
+       ei->i_block_group = group;
++      ei->i_fs_version = 0;
+       ext3_set_inode_flags(inode);
+       if (IS_DIRSYNC(inode))