Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian-packages
lustre-release
Commits
abe3c443
Commit
abe3c443
authored
16 years ago
by
Bobi Jam
Browse files
Options
Downloads
Patches
Plain Diff
trim trailing white spaces.
parent
04a47d2f
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lustre/obdclass/linux/linux-sysctl.c
+4
-4
4 additions, 4 deletions
lustre/obdclass/linux/linux-sysctl.c
with
4 additions
and
4 deletions
lustre/obdclass/linux/linux-sysctl.c
+
4
−
4
View file @
abe3c443
...
...
@@ -106,9 +106,9 @@ int LL_PROC_PROTO(proc_memory_alloc)
*
lenp
=
0
;
return
0
;
}
if
(
write
)
if
(
write
)
return
-
EINVAL
;
len
=
snprintf
(
buf
,
sizeof
(
buf
),
LPU64
"
\n
"
,
obd_memory_sum
());
if
(
len
>
*
lenp
)
len
=
*
lenp
;
...
...
@@ -221,7 +221,7 @@ int LL_PROC_PROTO(proc_max_dirty_pages_in_mb)
len
=
lprocfs_read_frac_helper
(
buf
,
sizeof
(
buf
),
*
(
unsigned
int
*
)
table
->
data
,
1
<<
(
20
-
CFS_PAGE_SHIFT
));
if
(
len
>
*
lenp
)
if
(
len
>
*
lenp
)
len
=
*
lenp
;
buf
[
len
]
=
'\0'
;
if
(
copy_to_user
(
buffer
,
buf
,
len
))
...
...
@@ -243,7 +243,7 @@ int LL_PROC_PROTO(proc_alloc_fail_rate)
return
0
;
}
if
(
write
)
{
rc
=
lprocfs_write_frac_helper
(
buffer
,
*
lenp
,
rc
=
lprocfs_write_frac_helper
(
buffer
,
*
lenp
,
(
unsigned
int
*
)
table
->
data
,
OBD_ALLOC_FAIL_MULT
);
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment