diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-10-19 15:30:37 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2011-10-19 15:30:37 -0400 |
commit | fef33df88bef6810cc3c4e6edf55c741a8fd68e3 (patch) | |
tree | 1e43d6b412cb04c03d2e691f57a41f57c68662bb /fs/cifs/cifsfs.c | |
parent | 66bfaadc3da74fecb4ba8b03f6b81d5f58b031fa (diff) | |
download | linux-fef33df88bef6810cc3c4e6edf55c741a8fd68e3.tar.gz linux-fef33df88bef6810cc3c4e6edf55c741a8fd68e3.tar.bz2 linux-fef33df88bef6810cc3c4e6edf55c741a8fd68e3.zip |
cifs: allow cifs_max_pending to be readable under /sys/module/cifs/parameters
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index b0a2e1647390..fa6724562a41 100644 --- a/fs/cifs/cifsfs.c +++ b/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; |