Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98b5c10d authored by Jean-Christophe Dubois's avatar Jean-Christophe Dubois Committed by Eric Paris
Browse files

fanotify: do not always return 0 in fsnotify



It seems to me you are always returning 0 in fsnotify, when you should return
the error (EPERM) returned by fanotify.

Signed-off-by: default avatarJean-Christophe DUBOIS <jcd@tribudubois.net>
Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 8860f060
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ out:
	if (event)
		fsnotify_put_event(event);

	return 0;
	return ret;
}
EXPORT_SYMBOL_GPL(fsnotify);