]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
dm raid: tidy includes
authorAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:03 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:03 +0000 (12:32 +0100)
A dm target only needs to use include/linux dm headers.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid.c

index efa960ff5ba4bea8533b08258e2edfe9ec0b40ba..d4e95b2e39f60b05d64d4d5ccc2685f0cb6dd1ae 100644 (file)
@@ -9,9 +9,10 @@
 
 #include "md.h"
 #include "raid5.h"
-#include "dm.h"
 #include "bitmap.h"
 
+#include <linux/device-mapper.h>
+
 #define DM_MSG_PREFIX "raid"
 
 /*