]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
orangefs: describe organization of sysfs
authorMartin Brandenburg <martin@omnibond.com>
Mon, 15 Aug 2016 19:11:32 +0000 (15:11 -0400)
committerMartin 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

index a772d26ad9d99ac3e51602eee1248c50241148e3..dac2908c0c27db20c36efa7dc5da2852a846e312 100644 (file)
 #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,