[CRIU] [PATCH 1/4] fsnotify: Fix legacy fanotify collect

Pavel Emelyanov xemul at virtuozzo.com
Mon May 15 07:01:16 PDT 2017


Wrong helper is called.

Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 criu/fsnotify.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/fsnotify.c b/criu/fsnotify.c
index 65833ca..490ae82 100644
--- a/criu/fsnotify.c
+++ b/criu/fsnotify.c
@@ -820,7 +820,7 @@ static int collect_fanotify_mark(struct fsnotify_mark_info *mark)
 
 	list_for_each_entry(p, &fanotify_info_head, list) {
 		if (p->ffe->id == mark->fme->id)
-			return __collect_inotify_mark(p, mark);
+			return __collect_fanotify_mark(p, mark);
 	}
 
 	pr_err("Can't find fanotify with id %#08x\n", mark->fme->id);
-- 
2.1.4



More information about the CRIU mailing list