Commit 68654479 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

crtools: Drop pr_debug from fdset ops

They are redundant, and simply overlog the output
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ef97467d
...@@ -159,7 +159,6 @@ void __close_cr_fdset(struct cr_fdset *cr_fdset) ...@@ -159,7 +159,6 @@ void __close_cr_fdset(struct cr_fdset *cr_fdset)
for (i = 0; i < CR_FD_MAX; i++) { for (i = 0; i < CR_FD_MAX; i++) {
if (cr_fdset->fds[i] == -1) if (cr_fdset->fds[i] == -1)
continue; continue;
pr_debug("Closed %d/%d\n", i, cr_fdset->fds[i]);
close_safe(&cr_fdset->fds[i]); close_safe(&cr_fdset->fds[i]);
cr_fdset->fds[i] = -1; cr_fdset->fds[i] = -1;
} }
...@@ -224,7 +223,6 @@ static struct cr_fdset *cr_fdset_open(int pid, unsigned long use_mask, ...@@ -224,7 +223,6 @@ static struct cr_fdset *cr_fdset_open(int pid, unsigned long use_mask,
} }
fdset->fds[i] = ret; fdset->fds[i] = ret;
pr_debug("Opened %s with %d\n", path, ret);
if (flags == O_RDONLY) { if (flags == O_RDONLY) {
u32 magic; u32 magic;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment