[PATCH] BLOCK: Make it possible to disable the block layer [try #6]
[deliverable/linux.git] / include / linux / raid / md_k.h
index d28890295852ce4f9be9f6bf0c6529f7b81041e6..920b94fe31fa2ed5184f8cdb4d41683efeeb15f4 100644 (file)
@@ -18,6 +18,8 @@
 /* and dm-bio-list.h is not under include/linux because.... ??? */
 #include "../../../drivers/md/dm-bio-list.h"
 
+#ifdef CONFIG_BLOCK
+
 #define        LEVEL_MULTIPATH         (-4)
 #define        LEVEL_LINEAR            (-1)
 #define        LEVEL_FAULTY            (-5)
@@ -362,5 +364,6 @@ static inline void safe_put_page(struct page *p)
        if (p) put_page(p);
 }
 
+#endif /* CONFIG_BLOCK */
 #endif
 
This page took 0.024403 seconds and 5 git commands to generate.