Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c27889cd
Commit
c27889cd
authored
Aug 15, 2016
by
Martin Brandenburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
orangefs: describe organization of sysfs
Signed-off-by:
Martin Brandenburg
<
martin@omnibond.com
>
parent
4a343664
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
fs/orangefs/orangefs-sysfs.c
fs/orangefs/orangefs-sysfs.c
+7
-0
No files found.
fs/orangefs/orangefs-sysfs.c
View file @
c27889cd
...
@@ -139,6 +139,13 @@
...
@@ -139,6 +139,13 @@
#define PC_KOBJ_ID "pc"
#define PC_KOBJ_ID "pc"
#define STATS_KOBJ_ID "stats"
#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
orangefs_attribute
{
struct
attribute
attr
;
struct
attribute
attr
;
ssize_t
(
*
show
)(
struct
kobject
*
kobj
,
ssize_t
(
*
show
)(
struct
kobject
*
kobj
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment