Commit d7011f5b authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Chris Mason

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent 180e001c
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/list_sort.h> #include <linux/list_sort.h>
#include <linux/raid/xor.h> #include <linux/raid/xor.h>
#include <linux/vmalloc.h>
#include <asm/div64.h> #include <asm/div64.h>
#include "compat.h" #include "compat.h"
#include "ctree.h" #include "ctree.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment