[CRIU] [PATCH 12/14] files: Use switch in collect_fd

Cyrill Gorcunov gorcunov at openvz.org
Sun Sep 2 12:33:29 EDT 2012


For easier transition to tty c/r. We will need more
types here, thus using switch statement makes code
a bit easier to read.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 files.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-files-Use-switch-in-collect_fd.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120902/8db7bba0/0012-files-Use-switch-in-collect_fd.bin


More information about the CRIU mailing list