dm dedup: fix vmalloc compiler warnings
authorMike Snitzer <snitzer@redhat.com>
Mon, 22 Sep 2014 18:03:07 +0000 (14:03 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 22 Sep 2014 18:03:07 +0000 (14:03 -0400)
drivers/md/dm-dedup-ram.c
drivers/md/dm-dedup-target.c

index cfbe7b2ba65132244ad9b2c2410a0d3ae7be6914..b9c9503c1db1a3862f1191a77f7a6d8bd571b384 100644 (file)
@@ -10,6 +10,7 @@
  * This file is released under the GPL.
  */
 
+#include <linux/vmalloc.h>
 #include <linux/errno.h>
 
 #include "dm-dedup-kvstore.h"
index b57fc2ebe67b9a494d714fa7cf621d7b5157e1c1..dc0ffd2edc67b23d43e11cf011237e785d9a439a 100644 (file)
@@ -10,6 +10,8 @@
  * This file is released under the GPL.
  */
 
+#include <linux/vmalloc.h>
+
 #include "dm-dedup-target.h"
 #include "dm-dedup-rw.h"
 #include "dm-dedup-hash.h"