Whamcloud - gitweb
LU-73 kernel: remove wrong jbd2 commit timer patch
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-filterdata-rhel5.patch
1 Index: linux-2.6.18.i386/fs/ext4/ext4_i.h
2 ===================================================================
3 --- linux-2.6.18.i386.orig/fs/ext4/ext4_i.h
4 +++ linux-2.6.18.i386/fs/ext4/ext4_i.h
5 @@ -162,6 +162,8 @@ struct ext4_inode_info {
6         __u16 i_extra_isize;
7
8         spinlock_t i_block_reservation_lock;
9 +
10 +       void *i_filterdata;
11  };
12  
13  #endif /* _EXT4_I */
14 Index: linux-2.6.18.i386/fs/ext4/super.c
15 ===================================================================
16 --- linux-2.6.18.i386.orig/fs/ext4/super.c
17 +++ linux-2.6.18.i386/fs/ext4/super.c
18 @@ -574,6 +574,7 @@ static struct inode *ext4_alloc_inode(st
19         ei->i_allocated_meta_blocks = 0;
20         ei->i_delalloc_reserved_flag = 0;
21         spin_lock_init(&(ei->i_block_reservation_lock));
22 +       ei->i_filterdata = NULL;
23         return &ei->vfs_inode;
24  }
25