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
d1dd1edb
Commit
d1dd1edb
authored
Oct 07, 2002
by
Art Haas
Committed by
Linus Torvalds
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] named initializers for fs/proc/proc_misc.c
parent
f0fd4c1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
fs/proc/proc_misc.c
fs/proc/proc_misc.c
+8
-8
No files found.
fs/proc/proc_misc.c
View file @
d1dd1edb
...
...
@@ -223,10 +223,10 @@ static int fragmentation_open(struct inode *inode, struct file *file)
}
static
struct
file_operations
fragmentation_file_operations
=
{
open:
fragmentation_open
,
read:
seq_read
,
llseek:
seq_lseek
,
release:
seq_release
,
.
open
=
fragmentation_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
release
=
seq_release
,
};
static
int
version_read_proc
(
char
*
page
,
char
**
start
,
off_t
off
,
...
...
@@ -258,10 +258,10 @@ static int vmstat_open(struct inode *inode, struct file *file)
return
seq_open
(
file
,
&
vmstat_op
);
}
static
struct
file_operations
proc_vmstat_file_operations
=
{
open:
vmstat_open
,
read:
seq_read
,
llseek:
seq_lseek
,
release:
seq_release
,
.
open
=
vmstat_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
release
=
seq_release
,
};
#ifdef CONFIG_PROC_HARDWARE
...
...
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