[CRIU] [PATCH v5 12/19] epoll: Align members in assignments
Cyrill Gorcunov
gorcunov at gmail.com
Wed Jul 4 18:51:40 MSK 2018
For readability sake
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
criu/eventpoll.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
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,
};
--
2.14.4
More information about the CRIU
mailing list