cifs: allow cifs_max_pending to be readable under /sys/module/cifs/parameters
authorJeff Layton <jlayton@redhat.com>
Wed, 19 Oct 2011 19:30:37 +0000 (15:30 -0400)
committerJeff Layton <jlayton@redhat.com>
Wed, 19 Oct 2011 19:30:37 +0000 (15:30 -0400)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/cifs/cifsfs.c

index b0a2e1647390e1e10dc69b2aadfe9d0856d9e811..fa6724562a4155b549acb871bfce0ad794c2c0ac 100644 (file)
@@ -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;