]> bbs.cooldavid.org Git - net-next-2.6.git/commit
fsnotify: call fsnotify_parent in perm events
authorEric Paris <eparis@redhat.com>
Thu, 28 Oct 2010 21:21:56 +0000 (17:21 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 28 Oct 2010 21:22:13 +0000 (17:22 -0400)
commit52420392c81c8712f555e6bcd116d8bd214ce43a
tree372d23bba71ee687ff5adf5b83d3fd0706e19927
parentff8bcbd03da881bf1171910c6c07d44bd3c0a234
fsnotify: call fsnotify_parent in perm events

fsnotify perm events do not call fsnotify parent.  That means you cannot
register a perm event on a directory and enforce permissions on all inodes in
that directory.  This patch fixes that situation.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fsnotify.c
include/linux/fsnotify.h
include/linux/fsnotify_backend.h