Commit 4bd43e22 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Andrei Vagin

fsnotify: Fix legacy fanotify collect

Wrong helper is called.

✓ travis-ci: success for Sanitize fsnotify legacy code
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 88699b49
......@@ -828,7 +828,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);
......
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