fanotify: reorder event on child checking for ease of readability
authorEric Paris <eparis@redhat.com>
Tue, 9 Nov 2010 16:48:30 +0000 (11:48 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 15 Dec 2010 18:58:44 +0000 (13:58 -0500)
commitd18dfd5bee56779bfb8a04ecf95b933df6c418c7
tree9f36d18e41a844a99987dbf7246d93db8618da2c
parentd631cb68f4a3e8d809ab55c75eae4716be57f4ed
fanotify: reorder event on child checking for ease of readability

The check to return false if a parent did not request to receive events
about it's children happens in the middle of a big if statement which is
easier to read if we just do the check later.  So move it.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify.c