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
a541fa8d
Commit
a541fa8d
authored
Apr 05, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rst: Remove unused pstree_pid
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
3b35d053
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
cr-restore.c
cr-restore.c
+0
-3
crtools.h
include/crtools.h
+0
-2
No files found.
cr-restore.c
View file @
a541fa8d
...
...
@@ -99,7 +99,6 @@ static struct shmems *shmems;
static
struct
pipe_info
*
pipes
;
static
int
nr_pipes
;
pid_t
pstree_pid
;
struct
pstree_item
*
me
;
static
int
restore_task_with_children
(
void
*
);
...
...
@@ -1721,8 +1720,6 @@ err:
int
cr_restore_tasks
(
pid_t
pid
,
struct
cr_options
*
opts
)
{
pstree_pid
=
pid
;
if
(
opts
->
leader_only
)
return
restore_one_task
(
pid
);
return
restore_all_tasks
(
pid
,
opts
);
...
...
include/crtools.h
View file @
a541fa8d
...
...
@@ -181,8 +181,6 @@ struct pstree_item {
u32
*
children
;
/* array of children */
};
extern
pid_t
pstree_pid
;
static
inline
int
in_vma_area
(
struct
vma_area
*
vma
,
unsigned
long
addr
)
{
return
addr
>=
(
unsigned
long
)
vma
->
vma
.
start
&&
...
...
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