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
2cea6414
Commit
2cea6414
authored
May 04, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fdpsrms: Remove now unused type field
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
f509fcf0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
cr-dump.c
cr-dump.c
+1
-5
files.h
include/files.h
+0
-1
No files found.
cr-dump.c
View file @
2cea6414
...
...
@@ -366,7 +366,7 @@ static int do_dump_gen_file(struct fd_parms *p, int lfd,
goto
err
;
pr_info
(
"fdinfo: type: 0x%2x flags: 0x%4x pos: 0x%8lx fd: %d
\n
"
,
p
->
type
,
p
->
flags
,
p
->
pos
,
p
->
fd
);
ops
->
type
,
p
->
flags
,
p
->
pos
,
p
->
fd
);
if
(
write_img
(
fdset_fd
(
cr_fdset
,
CR_FD_FDINFO
),
&
e
))
goto
err
;
...
...
@@ -402,7 +402,6 @@ static int dump_task_exe_link(pid_t pid, struct mm_entry *mm)
return
-
1
;
}
params
.
type
=
FDINFO_REG
;
params
.
flags
=
0
;
params
.
pos
=
0
;
params
.
fown
=
(
fown_t
){
};
...
...
@@ -603,7 +602,6 @@ static int dump_task_fs(pid_t pid, struct cr_fdset *fdset)
return
-
1
;
}
p
.
type
=
FDINFO_REG
;
p
.
flags
=
0
;
p
.
pos
=
0
;
p
.
fown
=
(
fown_t
){
};
...
...
@@ -624,7 +622,6 @@ static int dump_task_fs(pid_t pid, struct cr_fdset *fdset)
return
-
1
;
}
p
.
type
=
FDINFO_REG
;
p
.
flags
=
0
;
p
.
pos
=
0
;
fe
.
root_id
=
fd_id_generate_special
();
...
...
@@ -651,7 +648,6 @@ static int dump_filemap(pid_t pid, struct vma_entry *vma, int file_fd,
return
-
1
;
}
p
.
type
=
FDINFO_REG
;
p
.
pos
=
0
;
p
.
fown
=
(
fown_t
){
};
if
((
vma
->
prot
&
PROT_WRITE
)
&&
vma_entry_is
(
vma
,
VMA_FILE_SHARED
))
...
...
include/files.h
View file @
2cea6414
...
...
@@ -11,7 +11,6 @@ struct fd_parms {
int
fd
;
unsigned
long
pos
;
unsigned
int
flags
;
unsigned
int
type
;
char
fd_flags
;
struct
stat
stat
;
u32
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