]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drbd: Fix allyesconfig build, fix recent commit
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 30 Aug 2017 11:47:11 +0000 (13:47 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Aug 2017 14:09:29 +0000 (08:09 -0600)
Globals where prefixed with drbd_, that was missed in the
in #ifdef'nd code when it is built-in.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Fixes: 183ece30053f ("drbd: move global variables to drbd namespace and make some static")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_main.c

index 56a5436d3f4fcff5908d3302b01b52cdee7b3f01..92ba4c08835cf2a5edf8ebe5f3472bbe50d79d31 100644 (file)
@@ -2989,7 +2989,7 @@ static int __init drbd_init(void)
 #ifdef MODULE
                return -EINVAL;
 #else
-               minor_count = DRBD_MINOR_COUNT_DEF;
+               drbd_minor_count = DRBD_MINOR_COUNT_DEF;
 #endif
        }