drbd: Fix allyesconfig build, fix recent commit

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: 183ece3005 ("drbd: move global variables to drbd namespace and make some static")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Philipp Reisner 2017-08-30 13:47:11 +02:00 committed by Jens Axboe
parent 365cf663b6
commit 5fc1efd5de
1 changed files with 1 additions and 1 deletions

View 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
}