]> err.no Git - linux-2.6/commit
NBD: remove limit on max number of nbd devices
authorPaul Clements <paul.clements@steeleye.com>
Fri, 8 Feb 2008 12:21:51 +0000 (04:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:41 +0000 (09:22 -0800)
commit20a8143eaa3300a58326156eaf43e03db0fd2cb6
treeee12300f417f0ecbaa4879b62a19a09423de76b3
parent53a7a1bb438245cd2ef9674b9af3a5201d7d7657
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>
drivers/block/nbd.c
include/linux/nbd.h