diff options
-rw-r--r-- | fs/orangefs/orangefs-sysfs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/orangefs/orangefs-sysfs.c b/fs/orangefs/orangefs-sysfs.c index a772d26ad9d9..dac2908c0c27 100644 --- a/fs/orangefs/orangefs-sysfs.c +++ b/fs/orangefs/orangefs-sysfs.c | |||
@@ -139,6 +139,13 @@ | |||
139 | #define PC_KOBJ_ID "pc" | 139 | #define PC_KOBJ_ID "pc" |
140 | #define STATS_KOBJ_ID "stats" | 140 | #define STATS_KOBJ_ID "stats" |
141 | 141 | ||
142 | /* | ||
143 | * Every item calls orangefs_attr_show and orangefs_attr_store through | ||
144 | * orangefs_sysfs_ops. They look at the orangefs_attributes further below to | ||
145 | * call one of sysfs_int_show, sysfs_int_store, sysfs_service_op_show, or | ||
146 | * sysfs_service_op_store. | ||
147 | */ | ||
148 | |||
142 | struct orangefs_attribute { | 149 | struct orangefs_attribute { |
143 | struct attribute attr; | 150 | struct attribute attr; |
144 | ssize_t (*show)(struct kobject *kobj, | 151 | ssize_t (*show)(struct kobject *kobj, |