summaryrefslogtreecommitdiff
path: root/include/linux/drbd_limits.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-01-10 11:15:17 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-03-10 11:45:31 +0100
commit2b8a90b55533c66258a1ff0fb27b8cffa95665c4 (patch)
tree24e6d5816123e7912e1fe7db0261c083da8810f3 /include/linux/drbd_limits.h
parent110a204a354a5a69f99ed0bc8e6d779e6a94d410 (diff)
downloadlwn-2b8a90b55533c66258a1ff0fb27b8cffa95665c4.tar.gz
lwn-2b8a90b55533c66258a1ff0fb27b8cffa95665c4.zip
drbd: Corrected off-by-one error in DRBD_MINOR_COUNT_MAX
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd_limits.h')
-rw-r--r--include/linux/drbd_limits.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h
index abf418724e52..bb264a5732de 100644
--- a/include/linux/drbd_limits.h
+++ b/include/linux/drbd_limits.h
@@ -16,7 +16,8 @@
#define DEBUG_RANGE_CHECK 0
#define DRBD_MINOR_COUNT_MIN 1
-#define DRBD_MINOR_COUNT_MAX 255
+#define DRBD_MINOR_COUNT_MAX 256
+#define DRBD_MINOR_COUNT_DEF 32
#define DRBD_DIALOG_REFRESH_MIN 0
#define DRBD_DIALOG_REFRESH_MAX 600