Commit 27c8a3cf authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

fsnotify: Rename collect_one_wd to collect_one_inotify_mark

To be consistent with naming (we have collect_one_fanotify_mark
helper already).
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d6664eea
...@@ -483,7 +483,7 @@ static int collect_one_fanotify(void *o, ProtobufCMessage *msg) ...@@ -483,7 +483,7 @@ static int collect_one_fanotify(void *o, ProtobufCMessage *msg)
return 0; return 0;
} }
static int collect_one_wd(void *o, ProtobufCMessage *msg) static int collect_one_inotify_mark(void *o, ProtobufCMessage *msg)
{ {
struct fsnotify_mark_info *mark = o; struct fsnotify_mark_info *mark = o;
...@@ -507,7 +507,8 @@ int collect_inotify(void) ...@@ -507,7 +507,8 @@ int collect_inotify(void)
sizeof(struct fsnotify_file_info), collect_one_inotify); sizeof(struct fsnotify_file_info), collect_one_inotify);
if (!ret) if (!ret)
ret = collect_image(CR_FD_INOTIFY_WD, PB_INOTIFY_WD, ret = collect_image(CR_FD_INOTIFY_WD, PB_INOTIFY_WD,
sizeof(struct fsnotify_mark_info), collect_one_wd); sizeof(struct fsnotify_mark_info),
collect_one_inotify_mark);
if (!ret) if (!ret)
ret = collect_image(CR_FD_FANOTIFY, PB_FANOTIFY, ret = collect_image(CR_FD_FANOTIFY, PB_FANOTIFY,
sizeof(struct fsnotify_file_info), sizeof(struct fsnotify_file_info),
......
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