mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
f47634b276
commit
9c7a41691f
|
@ -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];
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue