fsnotify: introduce locked versions of fsnotify_add_mark() and fsnotify_remove_mark()
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Tue, 14 Jun 2011 15:29:52 +0000 (17:29 +0200)
committerEric Paris <eparis@redhat.com>
Tue, 11 Dec 2012 18:44:36 +0000 (13:44 -0500)
commitd5a335b845792d2a69ed1e244c0b233117b7db3c
tree7a340810ee8cba71ba90ab61f2a9bcef7c63a158
parente2a29943e9a2ee2aa737a77f550f46ba72269db4
fsnotify: introduce locked versions of fsnotify_add_mark() and fsnotify_remove_mark()

This patch introduces fsnotify_add_mark_locked() and fsnotify_remove_mark_locked()
which are essentially the same as fsnotify_add_mark() and fsnotify_remove_mark() but
assume that the caller has already taken the groups mark mutex.

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