btrfs/raid56: Add missing #include <linux/vmalloc.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 3 Mar 2013 11:44:41 +0000 (04:44 -0700)
committerChris Mason <chris.mason@fusionio.com>
Sun, 3 Mar 2013 11:53:41 +0000 (06:53 -0500)
tilegx_defconfig:

fs/btrfs/raid56.c: In function 'btrfs_alloc_stripe_hash_table':
fs/btrfs/raid56.c:206:3: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
fs/btrfs/raid56.c:206:9: warning: assignment makes pointer from integer without a cast [enabled by default]
fs/btrfs/raid56.c:226:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/raid56.c

index 07222053c7d8488f01de142266d797e339a48fb9..9a79fb790adb9dc56a9ea5f49f39dfd67d14ea5f 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/hash.h>
 #include <linux/list_sort.h>
 #include <linux/raid/xor.h>
+#include <linux/vmalloc.h>
 #include <asm/div64.h>
 #include "compat.h"
 #include "ctree.h"