fanotify: add an extra flag to mark_remove_from_mask that indicates wheather a mark...
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Tue, 14 Jun 2011 15:29:49 +0000 (17:29 +0200)
committerEric Paris <eparis@redhat.com>
Tue, 11 Dec 2012 18:29:45 +0000 (13:29 -0500)
commit6dfbd149946c22c2e2886d6b560def78630c8387
tree8d13ff7c1f0a8581d15ebcad6af31953d9ed290b
parent104d06f08ea59247cb0e7e548c5a5d22d21dcfd5
fanotify: add an extra flag to mark_remove_from_mask that indicates wheather a mark should be destroyed

This patch adds an extra flag to mark_remove_from_mask() to inform the caller if
the mark should be destroyed.
With this we dont destroy the mark implicitly in the function itself any more
but let the caller handle it.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c