g_lock: open with LOCK_ORDER_3
commitb9f32b2ea623a6ce976eb571232cdabeff160447
authorVolker Lendecke <vl@samba.org>
Wed, 14 Jun 2017 11:57:56 +0000 (14 13:57 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 15 Jun 2017 11:19:15 +0000 (15 13:19 +0200)
tree3a8e321847d33ba57cc90390d967fe685d79aa20
parent26932271a85a08a755c81df0138d770b6a3bc3a3
g_lock: open with LOCK_ORDER_3

xattr_tdb needs g_lock in a clustered environment. Nobody else
uses LOCK_ORDER_3 at this moment, so this looks safe.

The last one to use this was dbwrap_watch.tdb, and that's gone. The only
other one was notify_index.tdb, and that's gone too.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/g_lock.c