[CRIU] [crtools-bot for Cyrill Gorcunov ] crtools: Drop pr_debug from fdset ops

Cyrill Gorcunov gorcunov at openvz.org
Mon Feb 20 05:23:28 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 68654479c62ffd81549769bf352e311a7efee85b
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date:   Fri Feb 17 23:41:22 2012 +0400

    crtools: Drop pr_debug from fdset ops
    
    They are redundant, and simply overlog the output
    
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
---
 crtools.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/crtools.c b/crtools.c
index 743a849..fd7c707 100644
--- a/crtools.c
+++ b/crtools.c
@@ -159,7 +159,6 @@ void __close_cr_fdset(struct cr_fdset *cr_fdset)
 	for (i = 0; i < CR_FD_MAX; i++) {
 		if (cr_fdset->fds[i] == -1)
 			continue;
-		pr_debug("Closed %d/%d\n", i, cr_fdset->fds[i]);
 		close_safe(&cr_fdset->fds[i]);
 		cr_fdset->fds[i] = -1;
 	}
@@ -224,7 +223,6 @@ static struct cr_fdset *cr_fdset_open(int pid, unsigned long use_mask,
 		}
 		fdset->fds[i] = ret;
 
-		pr_debug("Opened %s with %d\n", path, ret);
 		if (flags == O_RDONLY) {
 			u32 magic;
 


More information about the CRIU mailing list