[CRIU] [PATCH 07/16] dump: remove checl fd for dir

Kinsbursky Stanislav skinsbursky at openvz.org
Thu Mar 1 12:57:02 EST 2012



Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>

---
 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