fanotify: do not call fanotify_update_object_mask in fanotify_remove_mark
authorAndreas Gruenbacher <agruen@suse.de>
Fri, 18 Dec 2009 02:24:28 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:58 +0000 (09:58 -0400)
commit088b09b0ac7a866a35962eeaea5d5607bd1840b7
tree9028cacd5ef98f34abeaa8fb68289745e0aaba20
parentc6223f464927cab9f4b10169b78c51d84228faf8
fanotify: do not call fanotify_update_object_mask in fanotify_remove_mark

Recalculate masks in fanotify_remove_mark, don't use
fanotify_update_object_mask.  This gets us one step closers to readable
code.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c