session_active_commands_attr attribute must have active_commands name.
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 26 Jan 2010 13:02:13 +0000 (13:02 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 26 Jan 2010 13:02:13 +0000 (13:02 +0000)
Reported by Joe Eykholt <jeykholt@cisco.com>

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1478 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scst/src/scst_sysfs.c

index 09933dd..c3eeaf2 100644 (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)