From: Oleg Drokin Date: Tue, 5 Jun 2012 22:14:00 +0000 (-0400) Subject: LU-1461 vmalloc usage needs linux/vmalloc.h include X-Git-Tag: 2.2.55~7 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=50d7f5355573f00154cdb145e4392f8b7c89785b;ds=sidebyside LU-1461 vmalloc usage needs linux/vmalloc.h include It seems the ext4-vmalloc patch forgot to include linux/vmalloc.h in mballoc.c Signed-off-by: Oleg Drokin Test Requirements: fortestonly Test-Parameters: ostcount=2 Change-Id: I994b75353ce13bac41f45e6bf494191b43304e3c Reviewed-on: http://review.whamcloud.com/3036 Tested-by: Hudson Tested-by: Oleg Drokin Reviewed-by: Yu Jian Reviewed-by: Alex Zhuravlev Tested-by: Maloo --- diff --git a/ldiskfs/kernel_patches/patches/ext4-vmalloc-rhel6.patch b/ldiskfs/kernel_patches/patches/ext4-vmalloc-rhel6.patch index 6691dbe..686121d 100644 --- a/ldiskfs/kernel_patches/patches/ext4-vmalloc-rhel6.patch +++ b/ldiskfs/kernel_patches/patches/ext4-vmalloc-rhel6.patch @@ -107,7 +107,15 @@ Index: linux-stage/fs/ext4/mballoc.c =================================================================== --- linux-stage.orig/fs/ext4/mballoc.c +++ linux-stage/fs/ext4/mballoc.c -@@ -2426,24 +2426,37 @@ static int ext4_mb_init_backend(struct s +@@ -23,6 +23,7 @@ + + #include "mballoc.h" + #include ++#include + #include + + /* +@@ -2408,24 +2409,37 @@ static int ext4_mb_init_backend(struct s while (array_size < sizeof(*sbi->s_group_info) * num_meta_group_infos_max) array_size = array_size << 1;