projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f47634b
)
[PATCH] drivers/block/nbd.c compile fix
author
Ingo van Lil
<inguin@gmx.de>
Sat, 1 Jul 2006 11:36:36 +0000
(
04:36
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 1 Jul 2006 16:56:04 +0000
(09:56 -0700)
The Network Block Device driver doesn't compile if NDEBUG is defined.
Signed-off-by: Ingo van Lil <inguin@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/nbd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/nbd.c
b/drivers/block/nbd.c
index 39662f0c9cce65afd9da3b397607093f05a3f026..0a1b1ea36ddcdc3064ba4daa35567a01e0f5b72d 100644
(file)
--- a/
drivers/block/nbd.c
+++ b/
drivers/block/nbd.c
@@
-50,9
+50,9
@@
#define DBG_RX 0x0200
#define DBG_TX 0x0400
static unsigned int debugflags;
-static unsigned int nbds_max = 16;
#endif /* NDEBUG */
+static unsigned int nbds_max = 16;
static struct nbd_device nbd_dev[MAX_NBD];
/*