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
1978c795
Commit
1978c795
authored
Mar 17, 2003
by
Eric Sandeen
Committed by
Stephen Lord
Mar 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix indices into xfs_min/xfs_max for sysctls in 2.5.x
SGI Modid: 2.5.x-xfs:slinx:140972a
parent
e268988e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
fs/xfs/linux/xfs_sysctl.c
fs/xfs/linux/xfs_sysctl.c
+6
-6
No files found.
fs/xfs/linux/xfs_sysctl.c
View file @
1978c795
...
...
@@ -69,27 +69,27 @@ xfs_stats_clear_proc_handler(
STATIC
ctl_table
xfs_table
[]
=
{
{
XFS_STATS_CLEAR
,
"stats_clear"
,
&
xfs_params
.
stats_clear
,
sizeof
(
ulong
),
0644
,
NULL
,
&
xfs_stats_clear_proc_handler
,
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
2
],
&
xfs_max
[
2
]},
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
0
],
&
xfs_max
[
0
]},
{
XFS_RESTRICT_CHOWN
,
"restrict_chown"
,
&
xfs_params
.
restrict_chown
,
sizeof
(
ulong
),
0644
,
NULL
,
&
proc_doulongvec_minmax
,
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
3
],
&
xfs_max
[
3
]},
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
1
],
&
xfs_max
[
1
]},
{
XFS_SGID_INHERIT
,
"irix_sgid_inherit"
,
&
xfs_params
.
sgid_inherit
,
sizeof
(
ulong
),
0644
,
NULL
,
&
proc_doulongvec_minmax
,
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
4
],
&
xfs_max
[
4
]},
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
2
],
&
xfs_max
[
2
]},
{
XFS_SYMLINK_MODE
,
"irix_symlink_mode"
,
&
xfs_params
.
symlink_mode
,
sizeof
(
ulong
),
0644
,
NULL
,
&
proc_doulongvec_minmax
,
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
5
],
&
xfs_max
[
5
]},
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
3
],
&
xfs_max
[
3
]},
{
XFS_PANIC_MASK
,
"panic_mask"
,
&
xfs_params
.
panic_mask
,
sizeof
(
ulong
),
0644
,
NULL
,
&
proc_doulongvec_minmax
,
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
6
],
&
xfs_max
[
6
]},
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
4
],
&
xfs_max
[
4
]},
{
XFS_ERRLEVEL
,
"error_level"
,
&
xfs_params
.
error_level
,
sizeof
(
ulong
),
0644
,
NULL
,
&
proc_doulongvec_minmax
,
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
7
],
&
xfs_max
[
7
]},
&
sysctl_intvec
,
NULL
,
&
xfs_min
[
5
],
&
xfs_max
[
5
]},
{
0
}
};
...
...
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