From 20a8143eaa3300a58326156eaf43e03db0fd2cb6 Mon Sep 17 00:00:00 2001 From: Paul Clements Date: Fri, 8 Feb 2008 04:21:51 -0800 Subject: NBD: remove limit on max number of nbd devices Remove the arbitrary 128 device limit for NBD. nbds_max can now be set to any number. In certain scenarios where devices are used sparsely we have run into the 128 device limit. Signed-off-by: Paul Clements Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/nbd.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/linux/nbd.h') diff --git a/include/linux/nbd.h b/include/linux/nbd.h index cc2b47240a8f..986572081e19 100644 --- a/include/linux/nbd.h +++ b/include/linux/nbd.h @@ -35,7 +35,6 @@ enum { }; #define nbd_cmd(req) ((req)->cmd[0]) -#define MAX_NBD 128 /* userspace doesn't need the nbd_device structure */ #ifdef __KERNEL__ -- cgit v1.2.3-59-g8ed1b