s3: Fix nested get_share_mode_lock calls
authorVolker Lendecke <vl@samba.org>
Tue, 10 Jan 2012 16:07:29 +0000 (17:07 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 12 Jan 2012 22:59:22 +0000 (23:59 +0100)
commit6da246bae1b000cb3191e114e978510ccacb7e90
tree05bb1518abf7c2723efc049e99dd0713a5642d10
parent6f9442a705b7ca67c78137db537f556385aa8558
s3: Fix nested get_share_mode_lock calls

This forces us to only do one real get_share_mode_lock call and
share the data between the nested get_share_mode_lock calls.

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/locking/share_mode_lock.c