diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 20 |
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; | |||
71 | static const struct super_operations cifs_super_ops; | 71 | static const struct super_operations cifs_super_ops; |
72 | unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; | 72 | unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; |
73 | module_param(CIFSMaxBufSize, int, 0); | 73 | module_param(CIFSMaxBufSize, int, 0); |
74 | MODULE_PARM_DESC(CIFSMaxBufSize,"Network buffer size (not including header). Default: 16384 Range: 8192 to 130048"); | 74 | MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header). " |
75 | "Default: 16384 Range: 8192 to 130048"); | ||
75 | unsigned int cifs_min_rcv = CIFS_MIN_RCV_POOL; | 76 | unsigned int cifs_min_rcv = CIFS_MIN_RCV_POOL; |
76 | module_param(cifs_min_rcv, int, 0); | 77 | module_param(cifs_min_rcv, int, 0); |
77 | MODULE_PARM_DESC(cifs_min_rcv,"Network buffers in pool. Default: 4 Range: 1 to 64"); | 78 | MODULE_PARM_DESC(cifs_min_rcv, "Network buffers in pool. Default: 4 Range: " |
79 | "1 to 64"); | ||
78 | unsigned int cifs_min_small = 30; | 80 | unsigned int cifs_min_small = 30; |
79 | module_param(cifs_min_small, int, 0); | 81 | module_param(cifs_min_small, int, 0); |
80 | MODULE_PARM_DESC(cifs_min_small,"Small network buffers in pool. Default: 30 Range: 2 to 256"); | 82 | MODULE_PARM_DESC(cifs_min_small, "Small network buffers in pool. Default: 30 " |
83 | "Range: 2 to 256"); | ||
81 | unsigned int cifs_max_pending = CIFS_MAX_REQ; | 84 | unsigned int cifs_max_pending = CIFS_MAX_REQ; |
82 | module_param(cifs_max_pending, int, 0); | 85 | module_param(cifs_max_pending, int, 0); |
83 | MODULE_PARM_DESC(cifs_max_pending,"Simultaneous requests to server. Default: 50 Range: 2 to 256"); | 86 | MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. " |
87 | "Default: 50 Range: 2 to 256"); | ||
84 | 88 | ||
85 | extern mempool_t *cifs_sm_req_poolp; | 89 | extern mempool_t *cifs_sm_req_poolp; |
86 | extern mempool_t *cifs_req_poolp; | 90 | extern 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) | |||
1040 | static void __exit | 1045 | static void __exit |
1041 | exit_cifs(void) | 1046 | exit_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) | |||
1055 | MODULE_AUTHOR("Steve French <sfrench@us.ibm.com>"); | 1060 | MODULE_AUTHOR("Steve French <sfrench@us.ibm.com>"); |
1056 | MODULE_LICENSE("GPL"); /* combination of LGPL + GPL source behaves as GPL */ | 1061 | MODULE_LICENSE("GPL"); /* combination of LGPL + GPL source behaves as GPL */ |
1057 | MODULE_DESCRIPTION | 1062 | MODULE_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"); | ||
1059 | MODULE_VERSION(CIFS_VERSION); | 1065 | MODULE_VERSION(CIFS_VERSION); |
1060 | module_init(init_cifs) | 1066 | module_init(init_cifs) |
1061 | module_exit(exit_cifs) | 1067 | module_exit(exit_cifs) |