Commit 7ed06099 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

fsnotify: Align collect_image_info members assignments

It's a way more easier to read.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 28381363
...@@ -440,11 +440,11 @@ static int collect_one_inotify(void *o, ProtobufCMessage *msg) ...@@ -440,11 +440,11 @@ static int collect_one_inotify(void *o, ProtobufCMessage *msg)
} }
struct collect_image_info inotify_cinfo = { struct collect_image_info inotify_cinfo = {
.fd_type = CR_FD_INOTIFY_FILE, .fd_type = CR_FD_INOTIFY_FILE,
.pb_type = PB_INOTIFY_FILE, .pb_type = PB_INOTIFY_FILE,
.priv_size = sizeof(struct fsnotify_file_info), .priv_size = sizeof(struct fsnotify_file_info),
.collect = collect_one_inotify, .collect = collect_one_inotify,
.flags = COLLECT_OPTIONAL, .flags = COLLECT_OPTIONAL,
}; };
static int collect_one_fanotify(void *o, ProtobufCMessage *msg) static int collect_one_fanotify(void *o, ProtobufCMessage *msg)
...@@ -459,11 +459,11 @@ 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 = { struct collect_image_info fanotify_cinfo = {
.fd_type = CR_FD_FANOTIFY_FILE, .fd_type = CR_FD_FANOTIFY_FILE,
.pb_type = PB_FANOTIFY_FILE, .pb_type = PB_FANOTIFY_FILE,
.priv_size = sizeof(struct fsnotify_file_info), .priv_size = sizeof(struct fsnotify_file_info),
.collect = collect_one_fanotify, .collect = collect_one_fanotify,
.flags = COLLECT_OPTIONAL, .flags = COLLECT_OPTIONAL,
}; };
static int collect_one_inotify_mark(void *o, ProtobufCMessage *msg) static int collect_one_inotify_mark(void *o, ProtobufCMessage *msg)
...@@ -478,11 +478,11 @@ 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 = { struct collect_image_info inotify_mark_cinfo = {
.fd_type = CR_FD_INOTIFY_WD, .fd_type = CR_FD_INOTIFY_WD,
.pb_type = PB_INOTIFY_WD, .pb_type = PB_INOTIFY_WD,
.priv_size = sizeof(struct fsnotify_mark_info), .priv_size = sizeof(struct fsnotify_mark_info),
.collect = collect_one_inotify_mark, .collect = collect_one_inotify_mark,
.flags = COLLECT_OPTIONAL, .flags = COLLECT_OPTIONAL,
}; };
static int collect_one_fanotify_mark(void *o, ProtobufCMessage *msg) static int collect_one_fanotify_mark(void *o, ProtobufCMessage *msg)
...@@ -497,9 +497,9 @@ 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 = { struct collect_image_info fanotify_mark_cinfo = {
.fd_type = CR_FD_FANOTIFY_MARK, .fd_type = CR_FD_FANOTIFY_MARK,
.pb_type = PB_FANOTIFY_MARK, .pb_type = PB_FANOTIFY_MARK,
.priv_size = sizeof(struct fsnotify_mark_info), .priv_size = sizeof(struct fsnotify_mark_info),
.collect = collect_one_fanotify_mark, .collect = collect_one_fanotify_mark,
.flags = COLLECT_OPTIONAL, .flags = COLLECT_OPTIONAL,
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment