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
9e7ae345
Commit
9e7ae345
authored
Dec 04, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rst: Remove unused arg from restore_one_helper
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
fdc56e53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cr-restore.c
cr-restore.c
+2
-2
No files found.
cr-restore.c
View file @
9e7ae345
...
@@ -667,7 +667,7 @@ static inline int sig_fatal(int sig)
...
@@ -667,7 +667,7 @@ static inline int sig_fatal(int sig)
struct
task_entries
*
task_entries
;
struct
task_entries
*
task_entries
;
static
int
restore_one_fake
(
int
p
id
)
static
int
restore_one_fake
(
vo
id
)
{
{
/* We should wait here, otherwise last_pid will be changed. */
/* We should wait here, otherwise last_pid will be changed. */
futex_wait_while
(
&
task_entries
->
start
,
CR_STATE_FORKING
);
futex_wait_while
(
&
task_entries
->
start
,
CR_STATE_FORKING
);
...
@@ -744,7 +744,7 @@ static int restore_one_task(int pid)
...
@@ -744,7 +744,7 @@ static int restore_one_task(int pid)
CoreEntry
*
core
;
CoreEntry
*
core
;
if
(
current
->
state
==
TASK_HELPER
)
if
(
current
->
state
==
TASK_HELPER
)
return
restore_one_fake
(
pid
);
return
restore_one_fake
();
fd
=
open_image_ro
(
CR_FD_CORE
,
pid
);
fd
=
open_image_ro
(
CR_FD_CORE
,
pid
);
if
(
fd
<
0
)
if
(
fd
<
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