session_active_commands_attr attribute must have active_commands name.

Reported by Joe Eykholt <jeykholt@cisco.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1478 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-01-26 13:02:13 +00:00
parent f7f8c13456
commit 28ed0ed7e3

View File

@@ -872,7 +872,8 @@ out:
}
static struct kobj_attribute session_active_commands_attr =
__ATTR(commands, S_IRUGO, scst_sess_sysfs_active_commands_show, NULL);
__ATTR(active_commands, S_IRUGO, scst_sess_sysfs_active_commands_show,
NULL);
static ssize_t scst_sess_sysfs_initiator_name_show(struct kobject *kobj,
struct kobj_attribute *attr, char *buf)