mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Key mark for explicit confirmations added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1546 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5217,7 +5217,8 @@ static ssize_t q2t_show_expl_conf_enabled(struct kobject *kobj,
|
||||
tgt = (struct q2t_tgt *)scst_tgt_get_tgt_priv(scst_tgt);
|
||||
ha = tgt->ha;
|
||||
|
||||
size = scnprintf(buffer, PAGE_SIZE, "%d\n", ha->enable_explicit_conf);
|
||||
size = scnprintf(buffer, PAGE_SIZE, "%d\n%s", ha->enable_explicit_conf,
|
||||
ha->enable_explicit_conf ? SCST_SYSFS_KEY_MARK "\n" : "");
|
||||
|
||||
return size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user