Commit 9c7a4169 authored by Ingo van Lil's avatar Ingo van Lil Committed by Linus Torvalds

[PATCH] drivers/block/nbd.c compile fix

The Network Block Device driver doesn't compile if NDEBUG is defined.
Signed-off-by: default avatarIngo van Lil <inguin@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f47634b2
...@@ -50,9 +50,9 @@ ...@@ -50,9 +50,9 @@
#define DBG_RX 0x0200 #define DBG_RX 0x0200
#define DBG_TX 0x0400 #define DBG_TX 0x0400
static unsigned int debugflags; static unsigned int debugflags;
static unsigned int nbds_max = 16;
#endif /* NDEBUG */ #endif /* NDEBUG */
static unsigned int nbds_max = 16;
static struct nbd_device nbd_dev[MAX_NBD]; static struct nbd_device nbd_dev[MAX_NBD];
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment