[CRIU] [PATCH 07/10] files: Use switch in collect_fd

Cyrill Gorcunov gorcunov at openvz.org
Wed Aug 29 06:32:18 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: 0007-files-Use-switch-in-collect_fd.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120829/ca2bc141/0007-files-Use-switch-in-collect_fd.bin


More information about the CRIU mailing list