[CRIU] [PATCH 15/21] pipes: Align pipe_info members

Cyrill Gorcunov gorcunov at openvz.org
Wed Jun 6 18:21:55 EDT 2012


Cleanup

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 pipes.c |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/pipes.c b/pipes.c
index bb2d559..3094562 100644
--- a/pipes.c
+++ b/pipes.c
@@ -10,21 +10,22 @@
 #include "pipes.h"
 #include "util-net.h"
 
-/* The sequence of objects which should be restored:
+/*
+ * The sequence of objects which should be restored:
  * pipe -> files struct-s -> fd-s.
  * pipe_entry describes  pipe's file structs-s.
  * A pipe doesn't have own properties, so it has no object.
  */
 
 struct pipe_info {
-	struct pipe_entry pe;
-	struct list_head pipe_list;	/* all pipe_info with the same pipe_id
-					 * This is pure circular list without head */
-	struct list_head list;		/* list head for fdinfo_list_entry-s */
-	struct file_desc d;
-	int create;
-	int bytes;
-	off_t off;
+	struct pipe_entry	pe;
+	struct list_head	pipe_list;	/* All pipe_info with the same pipe_id
+						 * This is pure circular list without head */
+	struct list_head	list;		/* list head for fdinfo_list_entry-s */
+	struct file_desc	d;
+	int			create;
+	int			bytes;
+	off_t			off;
 };
 
 static LIST_HEAD(pipes);
-- 
1.7.7.6



More information about the CRIU mailing list