fanotify: only destroy a mark if both its mask and its ignored_mask are cleared
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Thu, 2 Dec 2010 10:07:09 +0000 (11:07 +0100)
committerEric Paris <eparis@redhat.com>
Wed, 15 Dec 2010 18:58:46 +0000 (13:58 -0500)
Currently we destroy a mark if one of its masks - event mask or ignored mask - are
cleared without checking if the other mask is also clear.

With this patch we only destroy a mark if both masks are cleared.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Eric Paris <eparis@redhat.com>

No differences found