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
7cdfc8b3
Commit
7cdfc8b3
authored
Sep 26, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ghostf: Move remap_id ghost bit clear to open_remap_ghost
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
246d8336
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
files-reg.c
files-reg.c
+1
-1
No files found.
files-reg.c
View file @
7cdfc8b3
...
@@ -58,6 +58,7 @@ static int open_remap_ghost(struct reg_file_info *rfi,
...
@@ -58,6 +58,7 @@ static int open_remap_ghost(struct reg_file_info *rfi,
GhostFileEntry
*
gfe
=
NULL
;
GhostFileEntry
*
gfe
=
NULL
;
int
gfd
,
ifd
,
ghost_flags
;
int
gfd
,
ifd
,
ghost_flags
;
rfe
->
remap_id
&=
~
REMAP_GHOST
;
list_for_each_entry
(
gf
,
&
ghost_files
,
list
)
list_for_each_entry
(
gf
,
&
ghost_files
,
list
)
if
(
gf
->
id
==
rfe
->
remap_id
)
if
(
gf
->
id
==
rfe
->
remap_id
)
goto
gf_found
;
goto
gf_found
;
...
@@ -163,7 +164,6 @@ static int collect_remaps(void)
...
@@ -163,7 +164,6 @@ static int collect_remaps(void)
goto
tail
;
goto
tail
;
}
}
rfe
->
remap_id
&=
~
REMAP_GHOST
;
rfi
=
container_of
(
fdesc
,
struct
reg_file_info
,
d
);
rfi
=
container_of
(
fdesc
,
struct
reg_file_info
,
d
);
pr_info
(
"Configuring remap %#x -> %#x
\n
"
,
rfi
->
rfe
->
id
,
rfe
->
remap_id
);
pr_info
(
"Configuring remap %#x -> %#x
\n
"
,
rfi
->
rfe
->
id
,
rfe
->
remap_id
);
ret
=
open_remap_ghost
(
rfi
,
rfe
);
ret
=
open_remap_ghost
(
rfi
,
rfe
);
...
...
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