SRP_CRED_REQ autodetection is now disabled by default.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2026 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-08-31 06:30:59 +00:00
parent 798dc8a128
commit edac418f66
2 changed files with 6 additions and 4 deletions
+4 -3
View File
@@ -130,11 +130,12 @@ module_param(srpt_sq_size, int, 0444);
MODULE_PARM_DESC(srpt_sq_size,
"Per-channel send queue (SQ) size.");
#if defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
static int srpt_autodetect_cred_req = true;
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 27) \
|| defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5
static int srpt_autodetect_cred_req;
module_param(srpt_autodetect_cred_req, int, 0444);
#else
static bool srpt_autodetect_cred_req = true;
static bool srpt_autodetect_cred_req;
module_param(srpt_autodetect_cred_req, bool, 0444);
#endif
MODULE_PARM_DESC(srpt_autodetect_cred_req,