aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nbd.h
diff options
context:
space:
mode:
authorPaul Clements <paul.clements@steeleye.com>2008-02-08 04:21:51 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 09:22:41 -0800
commit20a8143eaa3300a58326156eaf43e03db0fd2cb6 (patch)
treeee12300f417f0ecbaa4879b62a19a09423de76b3 /include/linux/nbd.h
parent53a7a1bb438245cd2ef9674b9af3a5201d7d7657 (diff)
downloadkernel_samsung_smdk4412-20a8143eaa3300a58326156eaf43e03db0fd2cb6.zip
kernel_samsung_smdk4412-20a8143eaa3300a58326156eaf43e03db0fd2cb6.tar.gz
kernel_samsung_smdk4412-20a8143eaa3300a58326156eaf43e03db0fd2cb6.tar.bz2
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>
Diffstat (limited to 'include/linux/nbd.h')
-rw-r--r--include/linux/nbd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/nbd.h b/include/linux/nbd.h
index cc2b472..9865720 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__