[CRIU] [PATCH 2/4] files: Use switch in collect_fd

Cyrill Gorcunov gorcunov at openvz.org
Tue Sep 4 06:02:33 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: 0002-files-Use-switch-in-collect_fd.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120904/b870d2f7/0002-files-Use-switch-in-collect_fd.bin


More information about the CRIU mailing list