Whamcloud - gitweb
b=16893
[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         /* mballoc */
7         struct list_head i_prealloc_list;
8         spinlock_t i_prealloc_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         memset(&ei->i_cached_extent, 0, sizeof(struct ext4_ext_cache));
20         INIT_LIST_HEAD(&ei->i_prealloc_list);
21         spin_lock_init(&ei->i_prealloc_lock);
22 +       ei->i_filterdata = NULL;
23         return &ei->vfs_inode;
24  }
25