s3: Fix lock ordering in notify_add
authorVolker Lendecke <vl@samba.org>
Wed, 14 Mar 2012 09:52:03 +0000 (10:52 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Mar 2012 10:00:24 +0000 (11:00 +0100)
commitf69c6920d400acc3a31b778ab6cdb6b7da67adef
treee4dab7812e254629aa3a3382ca5bcaaeefd9aa13
parenta1fd41d83407eb449f8e80e309910b402272bc2e
s3: Fix lock ordering in notify_add

It's not necessary to keep the global notify record locked during
the inotify and notify_onelevel.tdb operations.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/notify_internal.c