diff options
author | Ingo van Lil <inguin@gmx.de> | 2006-07-01 07:36:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-01 12:56:04 -0400 |
commit | 9c7a41691f37a1538a88e5eb9b0b73df1f834542 (patch) | |
tree | b18c4358c56ec2d3866206660ce0be966489a1c8 | |
parent | f47634b276db6956998350e5fc26a0673fdb125c (diff) |
[PATCH] drivers/block/nbd.c compile fix
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>
-rw-r--r-- | drivers/block/nbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 39662f0c9cce..0a1b1ea36ddc 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -50,9 +50,9 @@ | |||
50 | #define DBG_RX 0x0200 | 50 | #define DBG_RX 0x0200 |
51 | #define DBG_TX 0x0400 | 51 | #define DBG_TX 0x0400 |
52 | static unsigned int debugflags; | 52 | static unsigned int debugflags; |
53 | static unsigned int nbds_max = 16; | ||
54 | #endif /* NDEBUG */ | 53 | #endif /* NDEBUG */ |
55 | 54 | ||
55 | static unsigned int nbds_max = 16; | ||
56 | static struct nbd_device nbd_dev[MAX_NBD]; | 56 | static struct nbd_device nbd_dev[MAX_NBD]; |
57 | 57 | ||
58 | /* | 58 | /* |