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
49da2834
Commit
49da2834
authored
Jun 03, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fd: Cleanup in dump_one_file
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
9ca95b5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cr-dump.c
cr-dump.c
+1
-2
No files found.
cr-dump.c
View file @
49da2834
...
@@ -495,8 +495,7 @@ static int dump_one_file(pid_t pid, int fd, int lfd, char fd_flags,
...
@@ -495,8 +495,7 @@ static int dump_one_file(pid_t pid, int fd, int lfd, char fd_flags,
return
dump_unsupp_fd
(
&
p
);
return
dump_unsupp_fd
(
&
p
);
}
}
if
(
S_ISREG
(
p
.
stat
.
st_mode
)
||
if
(
S_ISREG
(
p
.
stat
.
st_mode
)
||
S_ISDIR
(
p
.
stat
.
st_mode
))
S_ISDIR
(
p
.
stat
.
st_mode
))
return
dump_reg_file
(
&
p
,
lfd
,
cr_fdset
);
return
dump_reg_file
(
&
p
,
lfd
,
cr_fdset
);
if
(
S_ISFIFO
(
p
.
stat
.
st_mode
)
&&
(
statfs
.
f_type
==
PIPEFS_MAGIC
))
if
(
S_ISFIFO
(
p
.
stat
.
st_mode
)
&&
(
statfs
.
f_type
==
PIPEFS_MAGIC
))
...
...
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