notify_inotify: Simplify inotify_dispatch
authorVolker Lendecke <vl@samba.org>
Thu, 4 Dec 2014 16:01:17 +0000 (16:01 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 9 Dec 2014 05:37:24 +0000 (06:37 +0100)
commit9bb0728f7c71cf72e31ac15c74912479a803f323
tree9a9e3d84f86c25071be15494d404eb4dfc5501a9
parent658ffb19826b3cfde323c3e16fde4f713e88ffd8
notify_inotify: Simplify inotify_dispatch

Normally, I'm trying to simplify things with early returns. But in
this case I think the reverse makes the if-condition easier to
understand

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Dec  9 06:37:24 CET 2014 on sn-devel-104
source3/smbd/notify_inotify.c