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
55f1bc22
Commit
55f1bc22
authored
21 years ago
by
Mike Shaver
Browse files
Options
Downloads
Patches
Plain Diff
fix some lprocfs rot, b=1732, r=phik
parent
3c70eec5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lustre/ptlbd/client.c
+5
-1
5 additions, 1 deletion
lustre/ptlbd/client.c
lustre/ptlbd/server.c
+5
-1
5 additions, 1 deletion
lustre/ptlbd/server.c
with
10 additions
and
2 deletions
lustre/ptlbd/client.c
+
5
−
1
View file @
55f1bc22
...
...
@@ -191,11 +191,15 @@ static struct obd_ops ptlbd_cl_obd_ops = {
o_disconnect:
ptlbd_cl_disconnect
,
};
static
struct
lprocfs_vars
lprocfs_obd_vars
[]
=
{
{
0
}
};
static
struct
lprocfs_vars
lprocfs_module_vars
[]
=
{
{
0
}
};
LPROCFS_INIT_VARS
(
ptlbd_cl
,
lprocfs_module_vars
,
lprocfs_obd_vars
)
int
ptlbd_cl_init
(
void
)
{
struct
lprocfs_static_vars
lvars
;
lprocfs_init_vars
(
ptlbd
,
&
lvars
);
lprocfs_init_vars
(
ptlbd
_cl
,
&
lvars
);
return
class_register_type
(
&
ptlbd_cl_obd_ops
,
lvars
.
module_vars
,
OBD_PTLBD_CL_DEVICENAME
);
}
...
...
This diff is collapsed.
Click to expand it.
lustre/ptlbd/server.c
+
5
−
1
View file @
55f1bc22
...
...
@@ -98,11 +98,15 @@ static struct obd_ops ptlbd_sv_obd_ops = {
o_disconnect:
class_disconnect
,
};
static
struct
lprocfs_vars
lprocfs_obd_vars
[]
=
{
{
0
}
};
static
struct
lprocfs_vars
lprocfs_module_vars
[]
=
{
{
0
}
};
LPROCFS_INIT_VARS
(
ptlbd_sv
,
lprocfs_module_vars
,
lprocfs_obd_vars
)
int
ptlbd_sv_init
(
void
)
{
struct
lprocfs_static_vars
lvars
;
lprocfs_init_vars
(
ptlbd
,
&
lvars
);
lprocfs_init_vars
(
ptlbd
_sv
,
&
lvars
);
return
class_register_type
(
&
ptlbd_sv_obd_ops
,
lvars
.
module_vars
,
OBD_PTLBD_SV_DEVICENAME
);
}
...
...
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