[CRIU] [crtools-bot for Cyrill Gorcunov ] parasite: Some code style tuning in header

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 14 08:18:08 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit ae817148e0df81323a22fa04f3fbaab6ce9b0222
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date:   Wed Feb 8 20:17:59 2012 +0400

    parasite: Some code style tuning in header
    
    Easier to read.
    
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
---
 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;
 };


More information about the CRIU mailing list