Răsfoiți Sursa

s390/dasd: Make module parameter visible in sysfs

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>
Peter Oberparleiter 11 ani în urmă
părinte
comite
3b1269350b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/s390/block/dasd_devmap.c

+ 1 - 1
drivers/s390/block/dasd_devmap.c

@@ -77,7 +77,7 @@ EXPORT_SYMBOL_GPL(dasd_nofcx);
  * strings when running as a module.
  * strings when running as a module.
  */
  */
 static char *dasd[256];
 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.
  * Single spinlock to protect devmap and servermap structures and lists.