]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify: ignored_mask - excluding notification
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 02:24:33 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:59:00 +0000 (09:59 -0400)
commit9bfab2e762f10fc1b514f51703615cff50eafb72
treec427a66b81498c14598ed4161e3646930a805043
parentf3a1e5cf62b0ace26bf8411b321c18cf3da60d59
fsnotify: ignored_mask - excluding notification

The ignored_mask is a new mask which is part of fsnotify marks.  A group's
should_send_event() function can use the ignored mask to determine that
certain events are not of interest.  In particular if a group registers a
mask including FS_OPEN on a vfsmount they could add FS_OPEN to the
ignored_mask for individual inodes and not send open events for those
inodes.

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