mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
orangefs: describe organization of sysfs
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
This commit is contained in:
parent
4a3436647a
commit
c27889cdb4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user