Whamcloud - gitweb
LU-1461 vmalloc usage needs linux/vmalloc.h include
authorOleg Drokin <green@whamcloud.com>
Tue, 5 Jun 2012 22:14:00 +0000 (18:14 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jun 2012 13:31:31 +0000 (09:31 -0400)
It seems the ext4-vmalloc patch forgot to include linux/vmalloc.h
in mballoc.c

Signed-off-by: Oleg Drokin <green@whamcloud.com>
Test Requirements: fortestonly
Test-Parameters: ostcount=2

Change-Id: I994b75353ce13bac41f45e6bf494191b43304e3c
Reviewed-on: http://review.whamcloud.com/3036
Tested-by: Hudson
Tested-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
ldiskfs/kernel_patches/patches/ext4-vmalloc-rhel6.patch

index 6691dbe..686121d 100644 (file)
@@ -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 <linux/debugfs.h>
++#include <linux/vmalloc.h>
+ #include <trace/events/ext4.h>
+ /*
+@@ -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;