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
nexedi
linux
Commits
0f2140be
Commit
0f2140be
authored
Jan 09, 2004
by
Eric Sandeen
Committed by
Nathan Scott
Jan 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix sysctl handlers to expect ints
SGI Modid: 2.5.x-xfs:slinx:162288a
parent
e8b65083
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/xfs/linux/xfs_sysctl.c
fs/xfs/linux/xfs_sysctl.c
+1
-1
fs/xfs/pagebuf/page_buf.c
fs/xfs/pagebuf/page_buf.c
+1
-1
No files found.
fs/xfs/linux/xfs_sysctl.c
View file @
0f2140be
...
@@ -51,7 +51,7 @@ xfs_stats_clear_proc_handler(
...
@@ -51,7 +51,7 @@ xfs_stats_clear_proc_handler(
int
c
,
ret
,
*
valp
=
ctl
->
data
;
int
c
,
ret
,
*
valp
=
ctl
->
data
;
__uint32_t
vn_active
;
__uint32_t
vn_active
;
ret
=
proc_do
ulong
vec_minmax
(
ctl
,
write
,
filp
,
buffer
,
lenp
);
ret
=
proc_do
int
vec_minmax
(
ctl
,
write
,
filp
,
buffer
,
lenp
);
if
(
!
ret
&&
write
&&
*
valp
)
{
if
(
!
ret
&&
write
&&
*
valp
)
{
printk
(
"XFS Clearing xfsstats
\n
"
);
printk
(
"XFS Clearing xfsstats
\n
"
);
...
...
fs/xfs/pagebuf/page_buf.c
View file @
0f2140be
...
@@ -1952,7 +1952,7 @@ pb_stats_clear_handler(
...
@@ -1952,7 +1952,7 @@ pb_stats_clear_handler(
int
c
,
ret
;
int
c
,
ret
;
int
*
valp
=
ctl
->
data
;
int
*
valp
=
ctl
->
data
;
ret
=
proc_do
ulong
vec_minmax
(
ctl
,
write
,
filp
,
buffer
,
lenp
);
ret
=
proc_do
int
vec_minmax
(
ctl
,
write
,
filp
,
buffer
,
lenp
);
if
(
!
ret
&&
write
&&
*
valp
)
{
if
(
!
ret
&&
write
&&
*
valp
)
{
printk
(
"XFS Clearing pbstats
\n
"
);
printk
(
"XFS Clearing pbstats
\n
"
);
...
...
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