]> err.no Git - linux-2.6/commitdiff
[PATCH] drivers/block/nbd.c compile fix
authorIngo van Lil <inguin@gmx.de>
Sat, 1 Jul 2006 11:36:36 +0000 (04:36 -0700)
committerLinus 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

index 39662f0c9cce65afd9da3b397607093f05a3f026..0a1b1ea36ddcdc3064ba4daa35567a01e0f5b72d 100644 (file)
@@ -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];
 
 /*