Fix the module parm description so that the name matches the correct name.

Also, this approach changes the default behavior for people who are using
CONFIG_SCST_PROC because the default was that a single host/tgt was added,
but now they have to change their /etc/modules.d/scst.conf or whatever to 
add add_default_tgt=1.

I am not sure that is a good thing.

With the last few commits and this one, I have tested on 2.6.34.1 and 2.6.28
and things seem to work. I am now looking at the problem Vlad reported with
CONFIG_SCST_PROC where local devices show up under SCSI bus or device from 0
to 7.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2108 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Richard Sharpe
2010-09-12 18:11:42 +00:00
parent 8c0c079be4
commit 118900953e

View File

@@ -104,7 +104,7 @@ static int scst_local_add_default_tgt;
static bool scst_local_add_default_tgt;
#endif
module_param_named(add_default_tgt, scst_local_add_default_tgt, bool, S_IRUGO);
MODULE_PARM_DESC(add_default_host, "add or not (default) on start default "
MODULE_PARM_DESC(add_default_tgt, "add or not (default) on start default "
"target scst_local_tgt with default session scst_local_host");
struct scst_aen_work_item {