aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 8ebd887205bb..a0a2f3186557 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -71,16 +71,20 @@ static struct task_struct *dnotifyThread = NULL;
71static const struct super_operations cifs_super_ops; 71static const struct super_operations cifs_super_ops;
72unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; 72unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE;
73module_param(CIFSMaxBufSize, int, 0); 73module_param(CIFSMaxBufSize, int, 0);
74MODULE_PARM_DESC(CIFSMaxBufSize,"Network buffer size (not including header). Default: 16384 Range: 8192 to 130048"); 74MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header). "
75 "Default: 16384 Range: 8192 to 130048");
75unsigned int cifs_min_rcv = CIFS_MIN_RCV_POOL; 76unsigned int cifs_min_rcv = CIFS_MIN_RCV_POOL;
76module_param(cifs_min_rcv, int, 0); 77module_param(cifs_min_rcv, int, 0);
77MODULE_PARM_DESC(cifs_min_rcv,"Network buffers in pool. Default: 4 Range: 1 to 64"); 78MODULE_PARM_DESC(cifs_min_rcv, "Network buffers in pool. Default: 4 Range: "
79 "1 to 64");
78unsigned int cifs_min_small = 30; 80unsigned int cifs_min_small = 30;
79module_param(cifs_min_small, int, 0); 81module_param(cifs_min_small, int, 0);
80MODULE_PARM_DESC(cifs_min_small,"Small network buffers in pool. Default: 30 Range: 2 to 256"); 82MODULE_PARM_DESC(cifs_min_small, "Small network buffers in pool. Default: 30 "
83 "Range: 2 to 256");
81unsigned int cifs_max_pending = CIFS_MAX_REQ; 84unsigned int cifs_max_pending = CIFS_MAX_REQ;
82module_param(cifs_max_pending, int, 0); 85module_param(cifs_max_pending, int, 0);
83MODULE_PARM_DESC(cifs_max_pending,"Simultaneous requests to server. Default: 50 Range: 2 to 256"); 86MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. "
87 "Default: 50 Range: 2 to 256");
84 88
85extern mempool_t *cifs_sm_req_poolp; 89extern mempool_t *cifs_sm_req_poolp;
86extern mempool_t *cifs_req_poolp; 90extern mempool_t *cifs_req_poolp;
@@ -902,7 +906,8 @@ static int cifs_oplock_thread(void *dummyarg)
902 0 /* len */ , 0 /* offset */, 0, 906 0 /* len */ , 0 /* offset */, 0,
903 0, LOCKING_ANDX_OPLOCK_RELEASE, 907 0, LOCKING_ANDX_OPLOCK_RELEASE,
904 0 /* wait flag */); 908 0 /* wait flag */);
905 cFYI(1,("Oplock release rc = %d ", rc)); 909 cFYI(1,
910 ("Oplock release rc = %d ", rc));
906 } 911 }
907 } else 912 } else
908 spin_unlock(&GlobalMid_Lock); 913 spin_unlock(&GlobalMid_Lock);
@@ -1040,7 +1045,7 @@ init_cifs(void)
1040static void __exit 1045static void __exit
1041exit_cifs(void) 1046exit_cifs(void)
1042{ 1047{
1043 cFYI(0, ("In unregister ie exit_cifs")); 1048 cFYI(0, ("exit_cifs"));
1044#ifdef CONFIG_PROC_FS 1049#ifdef CONFIG_PROC_FS
1045 cifs_proc_clean(); 1050 cifs_proc_clean();
1046#endif 1051#endif
@@ -1055,7 +1060,8 @@ exit_cifs(void)
1055MODULE_AUTHOR("Steve French <sfrench@us.ibm.com>"); 1060MODULE_AUTHOR("Steve French <sfrench@us.ibm.com>");
1056MODULE_LICENSE("GPL"); /* combination of LGPL + GPL source behaves as GPL */ 1061MODULE_LICENSE("GPL"); /* combination of LGPL + GPL source behaves as GPL */
1057MODULE_DESCRIPTION 1062MODULE_DESCRIPTION
1058 ("VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows"); 1063 ("VFS to access servers complying with the SNIA CIFS Specification "
1064 "e.g. Samba and Windows");
1059MODULE_VERSION(CIFS_VERSION); 1065MODULE_VERSION(CIFS_VERSION);
1060module_init(init_cifs) 1066module_init(init_cifs)
1061module_exit(exit_cifs) 1067module_exit(exit_cifs)