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
1d186022
Commit
1d186022
authored
Dec 10, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rst: Remove excessive arg from open_vmas()
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
87fe1834
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cr-restore.c
cr-restore.c
+3
-3
No files found.
cr-restore.c
View file @
1d186022
...
...
@@ -458,12 +458,12 @@ out:
return
ret
;
}
static
int
open_vmas
(
int
pid
,
struct
list_head
*
vmas
)
static
int
open_vmas
(
int
pid
)
{
struct
vma_area
*
vma
;
int
ret
=
0
;
list_for_each_entry
(
vma
,
vmas
,
list
)
{
list_for_each_entry
(
vma
,
&
rst_vma_list
,
list
)
{
if
(
!
(
vma_entry_is
(
&
vma
->
vma
,
VMA_AREA_REGULAR
)))
continue
;
...
...
@@ -599,7 +599,7 @@ static int restore_one_alive_task(int pid, CoreEntry *core)
log_closedir
();
if
(
open_vmas
(
pid
,
&
rst_vma_list
))
if
(
open_vmas
(
pid
))
return
-
1
;
return
sigreturn_restore
(
pid
,
core
);
...
...
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