X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fkernel_patches%2Fpatches%2Fext4-filterdata-rhel5.patch;h=2bb1d36bd172739d26c5f836a2d604cfaee05a0d;hb=8007b51d6d9caa2a0ee9d5649ea9b869603f8cfa;hp=25ea28a1ed96411785528ffc90df71234af3b1ad;hpb=057784c2107a803436369727c25f7289650f0b9a;p=fs%2Flustre-release.git diff --git a/ldiskfs/kernel_patches/patches/ext4-filterdata-rhel5.patch b/ldiskfs/kernel_patches/patches/ext4-filterdata-rhel5.patch index 25ea28a..2bb1d36 100644 --- a/ldiskfs/kernel_patches/patches/ext4-filterdata-rhel5.patch +++ b/ldiskfs/kernel_patches/patches/ext4-filterdata-rhel5.patch @@ -3,9 +3,9 @@ Index: linux-2.6.18.i386/fs/ext4/ext4_i.h --- linux-2.6.18.i386.orig/fs/ext4/ext4_i.h +++ linux-2.6.18.i386/fs/ext4/ext4_i.h @@ -162,6 +162,8 @@ struct ext4_inode_info { - /* mballoc */ - struct list_head i_prealloc_list; - spinlock_t i_prealloc_lock; + __u16 i_extra_isize; + + spinlock_t i_block_reservation_lock; + + void *i_filterdata; }; @@ -16,9 +16,9 @@ Index: linux-2.6.18.i386/fs/ext4/super.c --- linux-2.6.18.i386.orig/fs/ext4/super.c +++ linux-2.6.18.i386/fs/ext4/super.c @@ -574,6 +574,7 @@ static struct inode *ext4_alloc_inode(st - memset(&ei->i_cached_extent, 0, sizeof(struct ext4_ext_cache)); - INIT_LIST_HEAD(&ei->i_prealloc_list); - spin_lock_init(&ei->i_prealloc_lock); + ei->i_allocated_meta_blocks = 0; + ei->i_delalloc_reserved_flag = 0; + spin_lock_init(&(ei->i_block_reservation_lock)); + ei->i_filterdata = NULL; return &ei->vfs_inode; }