[CRIU] [PATCH 08/14] dump: Make struct fd_parms to carry @parasite_ctl pointer

Cyrill Gorcunov gorcunov at openvz.org
Mon Oct 15 10:54:51 EDT 2012


Some file-type specific parameters can be fetched with
parasite code only, so lets carry parasite control block
pointer in struct fd_parms.

This is a bit ugly but requires less code to touch and
enough for now. In long terms we need some more generalized
routine/hooks which would depends on file type.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c       |   13 +++++++------
 include/files.h |    3 +++
 2 files changed, 10 insertions(+), 6 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-dump-Make-struct-fd_parms-to-carry-parasite_ctl-poin.patch
Type: text/x-patch
Size: 2274 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121015/222b9346/0008-dump-Make-struct-fd_parms-to-carry-parasite_ctl-poin.bin


More information about the CRIU mailing list