drbd: Use DRBD_MINOR_COUNT_DEF in one more place
authorAndreas Gruenbacher <agruen@linbit.com>
Tue, 31 May 2011 11:08:53 +0000 (13:08 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:43 +0000 (16:57 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_main.c

index dab0a75c63b598efd815e7ef9be5ac8ae5a32c74..178c711bc4af8df5f1eb7b52089eafe356826c1b 100644 (file)
@@ -2669,7 +2669,7 @@ int __init drbd_init(void)
 #ifdef MODULE
                return -EINVAL;
 #else
-               minor_count = 8;
+               minor_count = DRBD_MINOR_COUNT_DEF;
 #endif
        }