]> git.baikalelectronics.ru Git - kernel.git/commit
fanotify: do not always return 0 in fsnotify
authorJean-Christophe Dubois <jcd@tribudubois.net>
Tue, 23 Mar 2010 07:08:09 +0000 (08:08 +0100)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:59:02 +0000 (09:59 -0400)
commit47fca6adc994209beed1f163ca3874960330c074
tree7ca8ca16bea8b514cd416fddb012108e8b74e83a
parent10cfb3d04f1505f92956f86e1aa1455d0193e789
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: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fsnotify.c