]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify: allow addition of duplicate fsnotify marks
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 01:12:05 +0000 (20:12 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:17 +0000 (09:58 -0400)
commit73a98e916fa4a7b1b34b9e2847b1375b9ccb454e
tree7b9d4951734af9d819a900ff08f23c797a5c1b5c
parent0bec0e3ecf2406a6cfb4d2dac4bc7473f12b1257
fsnotify: allow addition of duplicate fsnotify marks

This patch allows a task to add a second fsnotify mark to an inode for the
same group.  This mark will be added to the end of the inode's list and
this will never be found by the stand fsnotify_find_mark() function.   This
is useful if a user wants to add a new mark before removing the old one.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/dnotify/dnotify.c
fs/notify/inode_mark.c
fs/notify/inotify/inotify_user.c
include/linux/fsnotify_backend.h
kernel/audit_watch.c