aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-03-03 06:44:41 -0500
committerChris Mason <chris.mason@fusionio.com>2013-03-03 06:53:41 -0500
commitd7011f5b9dd3c88feb5cebad7d0b719ed6816ebd (patch)
tree12f607ef9e2da4b72db3941443184be1273619c0 /fs
parent180e001cd5fc2950dc6a7997dde5b65c954d0e79 (diff)
btrfs/raid56: Add missing #include <linux/vmalloc.h>
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/raid56.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c
index 07222053c7d8..9a79fb790adb 100644
--- a/fs/btrfs/raid56.c
+++ b/fs/btrfs/raid56.c
@@ -31,6 +31,7 @@
31#include <linux/hash.h> 31#include <linux/hash.h>
32#include <linux/list_sort.h> 32#include <linux/list_sort.h>
33#include <linux/raid/xor.h> 33#include <linux/raid/xor.h>
34#include <linux/vmalloc.h>
34#include <asm/div64.h> 35#include <asm/div64.h>
35#include "compat.h" 36#include "compat.h"
36#include "ctree.h" 37#include "ctree.h"