Browse Source

cifs: allow cifs_max_pending to be readable under /sys/module/cifs/parameters

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeff Layton 13 years ago
parent
commit
fef33df88b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/cifs/cifsfs.c

+ 1 - 1
fs/cifs/cifsfs.c

@@ -74,7 +74,7 @@ module_param(cifs_min_small, int, 0);
 MODULE_PARM_DESC(cifs_min_small, "Small network buffers in pool. Default: 30 "
 				 "Range: 2 to 256");
 unsigned int cifs_max_pending = CIFS_MAX_REQ;
-module_param(cifs_max_pending, int, 0);
+module_param(cifs_max_pending, int, 0444);
 MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. "
 				   "Default: 50 Range: 2 to 256");
 unsigned short echo_retries = 5;