s390/dasd: Make module parameter visible in sysfs
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
Wed, 20 Aug 2014 13:35:44 +0000 (15:35 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 1 Sep 2014 07:56:28 +0000 (09:56 +0200)
Change the visibility of the dasd parameter of kernel module dasd_mod
to be consistent with the eer_pages parameter.

Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Acked-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_devmap.c

index 2ead7e78c4568ec7fe50ece74c3109d424efa852..14ba80bfa571bc4b34eb795c85f6725b96f6ad7b 100644 (file)
@@ -77,7 +77,7 @@ EXPORT_SYMBOL_GPL(dasd_nofcx);
  * strings when running as a module.
  */
 static char *dasd[256];
-module_param_array(dasd, charp, NULL, 0);
+module_param_array(dasd, charp, NULL, S_IRUGO);
 
 /*
  * Single spinlock to protect devmap and servermap structures and lists.
This page took 0.025132 seconds and 5 git commands to generate.