Whamcloud - gitweb
LU-20 ldiskfs: remove spurious warning message
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext3-inode-version-2.6.18-vanilla.patch
index 249a1e0..4bc112d 100644 (file)
@@ -118,9 +118,9 @@ Index: linux-2.6.18/include/linux/ext3_fs_i.h
  typedef int ext3_grpblk_t;
  
 @@ -162,6 +164,8 @@ struct ext3_inode_info {
+       /* mballoc */
+       struct list_head i_prealloc_list;
        spinlock_t i_prealloc_lock;
-       void *i_filterdata;
 +
 +      __u64 i_fs_version;
  };
@@ -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))