projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8860f06
)
fanotify: do not always return 0 in fsnotify
author
Jean-Christophe Dubois
<jcd@tribudubois.net>
Tue, 23 Mar 2010 07:08:09 +0000
(08:08 +0100)
committer
Eric Paris
<eparis@redhat.com>
Wed, 28 Jul 2010 13:59:02 +0000
(09:59 -0400)
It seems to me you are always returning 0 in fsnotify, when you should return
the error (EPERM) returned by fanotify.
Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fsnotify.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/notify/fsnotify.c
b/fs/notify/fsnotify.c
index 66826862789421ed0760317b4bff7f45e62dc3d9..9810babb1a3be7fff5c3e90bd157f1b2dc0c07e7 100644
(file)
--- a/
fs/notify/fsnotify.c
+++ b/
fs/notify/fsnotify.c
@@
-269,7
+269,7
@@
out:
if (event)
fsnotify_put_event(event);
- return
0
;
+ return
ret
;
}
EXPORT_SYMBOL_GPL(fsnotify);