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 <>
Signed-off-by: default avatarEric Paris <>
parent 8860f060
......@@ -269,7 +269,7 @@ int fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is,
if (event)
return 0;
return ret;
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