diff options
author | 2017-08-30 13:47:11 +0200 | |
---|---|---|
committer | 2017-08-30 08:09:29 -0600 | |
commit | 5fc1efd5de1a1685e68d80981c7676c4d323d93c (patch) | |
tree | ede8a9802e3e34fda09c6fd227a208c4946c969c /drivers/block | |
parent | drbd: switch from kmalloc() to kmalloc_array() (diff) | |
download | linux-5fc1efd5de1a1685e68d80981c7676c4d323d93c.tar.gz linux-5fc1efd5de1a1685e68d80981c7676c4d323d93c.tar.bz2 linux-5fc1efd5de1a1685e68d80981c7676c4d323d93c.zip |
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: 183ece30053f ("drbd: move global variables to drbd namespace and make some static")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index 56a5436d3f4f..92ba4c08835c 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -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 } |