projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a34366
)
orangefs: describe organization of sysfs
author
Martin Brandenburg
<martin@omnibond.com>
Mon, 15 Aug 2016 19:11:32 +0000
(15:11 -0400)
committer
Martin Brandenburg
<martin@omnibond.com>
Mon, 15 Aug 2016 19:11:32 +0000
(15:11 -0400)
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
fs/orangefs/orangefs-sysfs.c
patch
|
blob
|
history
diff --git
a/fs/orangefs/orangefs-sysfs.c
b/fs/orangefs/orangefs-sysfs.c
index a772d26ad9d99ac3e51602eee1248c50241148e3..dac2908c0c27db20c36efa7dc5da2852a846e312 100644
(file)
--- a/
fs/orangefs/orangefs-sysfs.c
+++ b/
fs/orangefs/orangefs-sysfs.c
@@
-139,6
+139,13
@@
#define PC_KOBJ_ID "pc"
#define STATS_KOBJ_ID "stats"
+/*
+ * Every item calls orangefs_attr_show and orangefs_attr_store through
+ * orangefs_sysfs_ops. They look at the orangefs_attributes further below to
+ * call one of sysfs_int_show, sysfs_int_store, sysfs_service_op_show, or
+ * sysfs_service_op_store.
+ */
+
struct orangefs_attribute {
struct attribute attr;
ssize_t (*show)(struct kobject *kobj,