drbd: move global variables to drbd namespace and make some static
authorRoland Kammerer <roland.kammerer@linbit.com>
Tue, 29 Aug 2017 08:20:46 +0000 (10:20 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Aug 2017 21:34:46 +0000 (15:34 -0600)
commit183ece30053f1597120ee30174955d7a971bc146
tree05e112ea3e2383b51ea4cc6357e75dd3d4cb9ae3
parent8ab761e17efa75449db2d71dc6fabf96d110588c
drbd: move global variables to drbd namespace and make some static

This is a follow-up to Gregs complaints that drbd clutteres the global
namespace.
Some of DRBD's module parameters are only used within one compilation
unit. Make these static.

Signed-off-by: Roland Kammerer <roland.kammerer@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_proc.c
drivers/block/drbd/drbd_receiver.c