[CRIU] [PATCH 01/16] parasite: Some code style tuning in header

Cyrill Gorcunov gorcunov at openvz.org
Mon Feb 13 14:26:24 EST 2012


Easier to read.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/parasite.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/include/parasite.h b/include/parasite.h
index cfd3734..96b78c1 100644
--- a/include/parasite.h
+++ b/include/parasite.h
@@ -60,13 +60,15 @@ typedef struct  {
 	} while (0)
 
 struct parasite_init_args {
-	parasite_status_t args;
-	int sun_len;
-	struct sockaddr_un saddr;
+	parasite_status_t	status;
+
+	int			sun_len;
+	struct sockaddr_un	saddr;
 };
 
 struct parasite_dump_pages_args {
 	parasite_status_t       status;
+
 	struct vma_entry	vma_entry;
 	unsigned long		nrpages_dumped;	/* how many pages are dumped */
 	int			fd_type;
@@ -82,6 +84,7 @@ struct parasite_dump_pages_args {
 
 struct parasite_dump_misc {
 	parasite_status_t	status;
+
 	unsigned int		secbits;
 	unsigned long		brk;
 };
-- 
1.7.7.6



More information about the CRIU mailing list