[CRIU] Re: [PATCH 07/16] dump: remove checl fd for dir
Pavel Emelyanov
xemul at parallels.com
Fri Mar 2 02:00:20 EST 2012
On 03/01/2012 09:57 PM, Kinsbursky Stanislav wrote:
>
>
> Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
Write explanation why.
> ---
> cr-dump.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/cr-dump.c b/cr-dump.c
> index 5af391c..ae12b1e 100644
> --- a/cr-dump.c
> +++ b/cr-dump.c
> @@ -355,7 +355,6 @@ static int dump_one_fd(pid_t pid, char *d_name, struct cr_fdset *cr_fdset,
> }
>
> if (S_ISREG(fd_stat.st_mode) ||
> - S_ISDIR(fd_stat.st_mode) ||
> (S_ISCHR(fd_stat.st_mode) && major(fd_stat.st_rdev) == MEM_MAJOR)) {
>
> p.id = MAKE_FD_GENID(fd_stat.st_dev, fd_stat.st_ino, p.pos);
>
More information about the CRIU
mailing list