summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-bufio.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-11-01 08:30:49 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-07 19:29:10 +0100
commit6f66263f8ebe1fb1f138de41ca9aa0a4860b30d0 (patch)
treebf8057b31cafcd43e6c4a60551bf24ece185ff07 /drivers/md/dm-bufio.c
parentdrivers/md: change module.h -> export.h in persistent-data/dm-* (diff)
downloadlinux-6f66263f8ebe1fb1f138de41ca9aa0a4860b30d0.tar.xz
linux-6f66263f8ebe1fb1f138de41ca9aa0a4860b30d0.zip
device-mapper: dm-bufio.c needs to include module.h
since it uses the module facilities. Reported-by: Witold Baryluk <baryluk@smp.if.uj.edu.pl> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/dm-bufio.c')
-rw-r--r--drivers/md/dm-bufio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c
index cb246667dd52..0a6806f80ab5 100644
--- a/drivers/md/dm-bufio.c
+++ b/drivers/md/dm-bufio.c
@@ -14,6 +14,7 @@
#include <linux/vmalloc.h>
#include <linux/version.h>
#include <linux/shrinker.h>
+#include <linux/module.h>
#define DM_MSG_PREFIX "bufio"