[v4,12/13] epoll: Align members in assignments

Submitted by Cyrill Gorcunov on July 2, 2018, 8:13 p.m.

Details

Message ID 20180702201333.3087-13-gorcunov@gmail.com
State Accepted
Series "epoll: Add support for duped targets"
Commit 2db8c8f92455b46737e324e4756ab80f7704d653
Headers show

Commit Message

Cyrill Gorcunov July 2, 2018, 8:13 p.m.
For readability sake

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 criu/eventpoll.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Patch hide | download patch | download mbox

diff --git a/criu/eventpoll.c b/criu/eventpoll.c
index a32bdd07d5fe..6247b955eabf 100644
--- a/criu/eventpoll.c
+++ b/criu/eventpoll.c
@@ -309,8 +309,8 @@  static int eventpoll_post_open(struct file_desc *d, int fd)
 }
 
 static struct file_desc_ops desc_ops = {
-	.type = FD_TYPES__EVENTPOLL,
-	.open = eventpoll_open,
+	.type		= FD_TYPES__EVENTPOLL,
+	.open		= eventpoll_open,
 };
 
 static int collect_one_epoll_tfd(void *o, ProtobufCMessage *msg, struct cr_img *i)
@@ -345,10 +345,10 @@  static int collect_one_epoll_tfd(void *o, ProtobufCMessage *msg, struct cr_img *
 }
 
 struct collect_image_info epoll_tfd_cinfo = {
-	.fd_type = CR_FD_EVENTPOLL_TFD,
-	.pb_type = PB_EVENTPOLL_TFD,
-	.collect = collect_one_epoll_tfd,
-	.flags = COLLECT_NOFREE,
+	.fd_type	= CR_FD_EVENTPOLL_TFD,
+	.pb_type	= PB_EVENTPOLL_TFD,
+	.collect	= collect_one_epoll_tfd,
+	.flags		= COLLECT_NOFREE,
 };
 
 static int collect_one_epoll(void *o, ProtobufCMessage *msg, struct cr_img *i)
@@ -361,8 +361,8 @@  static int collect_one_epoll(void *o, ProtobufCMessage *msg, struct cr_img *i)
 }
 
 struct collect_image_info epoll_cinfo = {
-	.fd_type = CR_FD_EVENTPOLL_FILE,
-	.pb_type = PB_EVENTPOLL_FILE,
-	.priv_size = sizeof(struct eventpoll_file_info),
-	.collect = collect_one_epoll,
+	.fd_type	= CR_FD_EVENTPOLL_FILE,
+	.pb_type	= PB_EVENTPOLL_FILE,
+	.priv_size	= sizeof(struct eventpoll_file_info),
+	.collect	= collect_one_epoll,
 };