mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
fsnotify: Align collect_image_info members assignments
It's a way more easier to read. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
2838136364
commit
7ed0609943
40
fsnotify.c
40
fsnotify.c
@@ -440,11 +440,11 @@ static int collect_one_inotify(void *o, ProtobufCMessage *msg)
|
||||
}
|
||||
|
||||
struct collect_image_info inotify_cinfo = {
|
||||
.fd_type = CR_FD_INOTIFY_FILE,
|
||||
.pb_type = PB_INOTIFY_FILE,
|
||||
.priv_size = sizeof(struct fsnotify_file_info),
|
||||
.collect = collect_one_inotify,
|
||||
.flags = COLLECT_OPTIONAL,
|
||||
.fd_type = CR_FD_INOTIFY_FILE,
|
||||
.pb_type = PB_INOTIFY_FILE,
|
||||
.priv_size = sizeof(struct fsnotify_file_info),
|
||||
.collect = collect_one_inotify,
|
||||
.flags = COLLECT_OPTIONAL,
|
||||
};
|
||||
|
||||
static int collect_one_fanotify(void *o, ProtobufCMessage *msg)
|
||||
@@ -459,11 +459,11 @@ static int collect_one_fanotify(void *o, ProtobufCMessage *msg)
|
||||
}
|
||||
|
||||
struct collect_image_info fanotify_cinfo = {
|
||||
.fd_type = CR_FD_FANOTIFY_FILE,
|
||||
.pb_type = PB_FANOTIFY_FILE,
|
||||
.priv_size = sizeof(struct fsnotify_file_info),
|
||||
.collect = collect_one_fanotify,
|
||||
.flags = COLLECT_OPTIONAL,
|
||||
.fd_type = CR_FD_FANOTIFY_FILE,
|
||||
.pb_type = PB_FANOTIFY_FILE,
|
||||
.priv_size = sizeof(struct fsnotify_file_info),
|
||||
.collect = collect_one_fanotify,
|
||||
.flags = COLLECT_OPTIONAL,
|
||||
};
|
||||
|
||||
static int collect_one_inotify_mark(void *o, ProtobufCMessage *msg)
|
||||
@@ -478,11 +478,11 @@ static int collect_one_inotify_mark(void *o, ProtobufCMessage *msg)
|
||||
}
|
||||
|
||||
struct collect_image_info inotify_mark_cinfo = {
|
||||
.fd_type = CR_FD_INOTIFY_WD,
|
||||
.pb_type = PB_INOTIFY_WD,
|
||||
.priv_size = sizeof(struct fsnotify_mark_info),
|
||||
.collect = collect_one_inotify_mark,
|
||||
.flags = COLLECT_OPTIONAL,
|
||||
.fd_type = CR_FD_INOTIFY_WD,
|
||||
.pb_type = PB_INOTIFY_WD,
|
||||
.priv_size = sizeof(struct fsnotify_mark_info),
|
||||
.collect = collect_one_inotify_mark,
|
||||
.flags = COLLECT_OPTIONAL,
|
||||
};
|
||||
|
||||
static int collect_one_fanotify_mark(void *o, ProtobufCMessage *msg)
|
||||
@@ -497,9 +497,9 @@ static int collect_one_fanotify_mark(void *o, ProtobufCMessage *msg)
|
||||
}
|
||||
|
||||
struct collect_image_info fanotify_mark_cinfo = {
|
||||
.fd_type = CR_FD_FANOTIFY_MARK,
|
||||
.pb_type = PB_FANOTIFY_MARK,
|
||||
.priv_size = sizeof(struct fsnotify_mark_info),
|
||||
.collect = collect_one_fanotify_mark,
|
||||
.flags = COLLECT_OPTIONAL,
|
||||
.fd_type = CR_FD_FANOTIFY_MARK,
|
||||
.pb_type = PB_FANOTIFY_MARK,
|
||||
.priv_size = sizeof(struct fsnotify_mark_info),
|
||||
.collect = collect_one_fanotify_mark,
|
||||
.flags = COLLECT_OPTIONAL,
|
||||
};
|
||||
|
Reference in New Issue
Block a user