Whamcloud - gitweb
5f7c8c9b9917ed26bd36c72ef10bdb72b2fe1711
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext3-filterdata-sles10.patch
1 Index: linux-2.6.16.27-0.9-full/include/linux/ext3_fs_i.h
2 ===================================================================
3 --- linux-2.6.16.27-0.9-full.orig/include/linux/ext3_fs_i.h     2007-03-28 16:03:20.000000000 +0400
4 +++ linux-2.6.16.27-0.9-full/include/linux/ext3_fs_i.h  2007-03-28 19:40:53.000000000 +0400
5 @@ -139,6 +139,8 @@ struct ext3_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 /* _LINUX_EXT3_FS_I */
14 Index: linux-2.6.16.27-0.9-full/fs/ext3/super.c
15 ===================================================================
16 --- linux-2.6.16.27-0.9-full.orig/fs/ext3/super.c       2007-03-28 18:20:17.000000000 +0400
17 +++ linux-2.6.16.27-0.9-full/fs/ext3/super.c    2007-03-28 19:40:53.000000000 +0400
18 @@ -462,6 +462,7 @@ static struct inode *ext3_alloc_inode(st
19         memset(&ei->i_cached_extent, 0, sizeof(ei->i_cached_extent));
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