mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
fd: Cleanup in dump_one_file
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
9ca95b5d3a
commit
49da2834a5
@ -495,8 +495,7 @@ static int dump_one_file(pid_t pid, int fd, int lfd, char fd_flags,
|
||||
return dump_unsupp_fd(&p);
|
||||
}
|
||||
|
||||
if (S_ISREG(p.stat.st_mode) ||
|
||||
S_ISDIR(p.stat.st_mode))
|
||||
if (S_ISREG(p.stat.st_mode) || S_ISDIR(p.stat.st_mode))
|
||||
return dump_reg_file(&p, lfd, cr_fdset);
|
||||
|
||||
if (S_ISFIFO(p.stat.st_mode) && (statfs.f_type == PIPEFS_MAGIC))
|
||||
|
Loading…
x
Reference in New Issue
Block a user