Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
5ff44092
Commit
5ff44092
authored
Jan 20, 2016
by
Pavel Emelyanov
Committed by
Pavel Emelyanov
Jan 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
files: Remove unused args from dump_dead_process_remap
Signed-off-by:
Pavel Emelyanov
<
xemul@virtuozzo.com
>
parent
5dc64eb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
files-reg.c
files-reg.c
+2
-3
No files found.
files-reg.c
View file @
5ff44092
...
@@ -769,8 +769,7 @@ static int have_seen_dead_pid(pid_t pid)
...
@@ -769,8 +769,7 @@ static int have_seen_dead_pid(pid_t pid)
return
0
;
return
0
;
}
}
static
int
dump_dead_process_remap
(
pid_t
pid
,
char
*
path
,
int
len
,
const
struct
stat
*
ost
,
static
int
dump_dead_process_remap
(
pid_t
pid
,
u32
id
)
int
lfd
,
u32
id
,
struct
ns_id
*
nsid
)
{
{
RemapFilePathEntry
rpe
=
REMAP_FILE_PATH_ENTRY__INIT
;
RemapFilePathEntry
rpe
=
REMAP_FILE_PATH_ENTRY__INIT
;
int
ret
;
int
ret
;
...
@@ -912,7 +911,7 @@ static int check_path_remap(struct fd_link *link, const struct fd_parms *parms,
...
@@ -912,7 +911,7 @@ static int check_path_remap(struct fd_link *link, const struct fd_parms *parms,
if
(
is_dead
)
{
if
(
is_dead
)
{
pr_info
(
"Dumping dead process remap of %d
\n
"
,
pid
);
pr_info
(
"Dumping dead process remap of %d
\n
"
,
pid
);
return
dump_dead_process_remap
(
pid
,
rpath
+
1
,
link
->
len
-
1
,
ost
,
lfd
,
id
,
ns
id
);
return
dump_dead_process_remap
(
pid
,
id
);
}
}
}
}
...
...
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