summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2017-08-30 14:47:11 +0300
committerJens Axboe <axboe@kernel.dk>2017-08-30 17:09:29 +0300
commit5fc1efd5de1a1685e68d80981c7676c4d323d93c (patch)
treeede8a9802e3e34fda09c6fd227a208c4946c969c /drivers/block
parent365cf663b64791e341f425385c7ae152327c7009 (diff)
downloadlinux-5fc1efd5de1a1685e68d80981c7676c4d323d93c.tar.xz
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.c2
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
}