drivers/block/nbd.c compile fix
Subsystems (2)
PATCH 1/1 drivers/block/nbd.c compile fix
Hello everybody,
the Network Block Device driver doesn't compile if NDEBUG is defined.
Cheers,
Ingo
Signed-off-by Ingo van Lil <[email protected]>
---
drivers/block/nbd.c renamed from drivers/block/nbd.c.orig +1 -1
@@ -82,9 +82,9 @@#define DBG_RX 0x0200#define DBG_TX 0x0400static 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 ];/*