projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] BLOCK: Make it possible to disable the block layer [try #6]
[deliverable/linux.git]
/
include
/
linux
/
raid
/
md_k.h
diff --git
a/include/linux/raid/md_k.h
b/include/linux/raid/md_k.h
index d28890295852ce4f9be9f6bf0c6529f7b81041e6..920b94fe31fa2ed5184f8cdb4d41683efeeb15f4 100644
(file)
--- a/
include/linux/raid/md_k.h
+++ b/
include/linux/raid/md_k.h
@@
-18,6
+18,8
@@
/* and dm-bio-list.h is not under include/linux because.... ??? */
#include "../../../drivers/md/dm-bio-list.h"
/* 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)
#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);
}
if (p) put_page(p);
}
+#endif /* CONFIG_BLOCK */
#endif
#endif
This page took
0.024599 seconds
and
5
git commands to generate.