From 28ed0ed7e30eb9434bb9cf84ee02ce4afe6190b8 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 26 Jan 2010 13:02:13 +0000 Subject: [PATCH] session_active_commands_attr attribute must have active_commands name. Reported by Joe Eykholt git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1478 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scst/src/scst_sysfs.c b/scst/src/scst_sysfs.c index 09933ddc0..c3eeaf2d2 100644 --- a/scst/src/scst_sysfs.c +++ b/scst/src/scst_sysfs.c @@ -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)