Browse Source

hv: make vmbus_loglevel writeable

make /sys/module/hv_vmbus/parameters/vmbus_loglevel writeable by root.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Olaf Hering 14 years ago
parent
commit
13399cbaab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/hv/vmbus_drv.c

+ 1 - 1
drivers/staging/hv/vmbus_drv.c

@@ -827,7 +827,7 @@ static void __exit hv_pci_exit(void)
 
 MODULE_LICENSE("GPL");
 MODULE_VERSION(HV_DRV_VERSION);
-module_param(vmbus_loglevel, int, S_IRUGO);
+module_param(vmbus_loglevel, int, S_IRUGO|S_IWUSR);
 
 module_init(hv_pci_init);
 module_exit(hv_pci_exit);