[CRIU] [PATCH 4/4] protobuf: Use FdinfoEntry instead of struct
fdinfo_entry
Cyrill Gorcunov
gorcunov at openvz.org
Fri Jul 6 11:32:26 EDT 2012
This patch get rid of fdinfo_entry and start using protobuf
facility for real.
Note that PB entries once unpacked should be referred via
pointers, not by values, because one day .proto file might
be changed leading to unpredicted results.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
cr-dump.c | 18 ++++++--------
cr-show.c | 17 ++++++-------
file-ids.c | 2 +-
files.c | 62 +++++++++++++++++++++++++++------------------------
include/file-ids.h | 5 ++-
include/files.h | 6 +++-
include/image.h | 7 ------
include/sockets.h | 1 -
pipes.c | 12 +++++-----
sk-unix.c | 20 ++++++++--------
10 files changed, 73 insertions(+), 77 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-protobuf-Use-FdinfoEntry-instead-of-struct-fdinfo_en.patch
Type: text/x-patch
Size: 14248 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120706/d3ee68fd/0004-protobuf-Use-FdinfoEntry-instead-of-struct-fdinfo_en-0001.bin
More information about the CRIU
mailing list