drbd: rename "usermode_helper" to "drbd_usermode_helper"
Nothing like having a very generic global variable in a tiny driver subsystem to make a mess of the global namespace... Note, there are many other "generic" named global variables in the drbd subsystem, someone should fix those up one day before they hit a linking error. 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>
This commit is contained in:
committed by
Jens Axboe
parent
cde81d99af
commit
8ab761e17e
@@ -109,9 +109,9 @@ int proc_details; /* Detail level in proc drbd*/
|
||||
|
||||
/* Module parameter for setting the user mode helper program
|
||||
* to run. Default is /sbin/drbdadm */
|
||||
char usermode_helper[80] = "/sbin/drbdadm";
|
||||
char drbd_usermode_helper[80] = "/sbin/drbdadm";
|
||||
|
||||
module_param_string(usermode_helper, usermode_helper, sizeof(usermode_helper), 0644);
|
||||
module_param_string(usermode_helper, drbd_usermode_helper, sizeof(drbd_usermode_helper), 0644);
|
||||
|
||||
/* in 2.6.x, our device mapping and config info contains our virtual gendisks
|
||||
* as member "struct gendisk *vdisk;"
|
||||
|
||||
Reference in New Issue
Block a user