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 <paul.clements@steeleye.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
53a7a1bb43
commit
20a8143eaa
@ -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__
|
||||
|
Reference in New Issue
Block a user