[CRIU] [PATCH 06/18] sk-unix: Adjust unix_sk_info members

Cyrill Gorcunov gorcunov at openvz.org
Sun Apr 9 15:28:38 PDT 2017


For readability sake.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 criu/sk-unix.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/criu/sk-unix.c b/criu/sk-unix.c
index e250584264ea..54d6d8d8ce0b 100644
--- a/criu/sk-unix.c
+++ b/criu/sk-unix.c
@@ -777,24 +777,24 @@ err:
 }
 
 struct unix_sk_info {
-	UnixSkEntry *ue;
-	struct list_head list;
-	char *name;
-	char *name_dir;
-	unsigned flags;
-	struct unix_sk_info *peer;
-	struct file_desc d;
-	struct list_head connected; /* List of sockets, connected to me */
-	struct list_head node; /* To link in peer's connected list  */
+	UnixSkEntry		*ue;
+	struct list_head	list;
+	char			*name;
+	char			*name_dir;
+	unsigned int		flags;
+	struct unix_sk_info	*peer;
+	struct file_desc	d;
+	struct list_head	connected;	/* List of sockets, connected to me */
+	struct list_head	node;		/* To link in peer's connected list  */
 
 	/*
 	 * For DGRAM sockets with queues, we should only restore the queue
 	 * once although it may be open by more than one tid. This is the peer
 	 * that should do the queueing.
 	 */
-	u32 queuer;
-	u8 bound:1;
-	u8 listen:1;
+	u32			queuer;
+	u8			bound:1;
+	u8			listen:1;
 };
 
 #define USK_PAIR_MASTER		0x1
-- 
2.7.4



More information about the CRIU mailing list