s3/smbd: all callers of defer_open() pass a lck
commitb375bae8798cf0054318409b4ab81358e4f458f0
authorRalph Boehme <slow@samba.org>
Tue, 7 Mar 2017 14:48:05 +0000 (7 15:48 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Mar 2017 09:51:46 +0000 (14 10:51 +0100)
tree6a3de96643b5654b193c14cd1537573b39a927ac
parenteeed4ffd126d26393f6d495d10627bac8f0f2b2e
s3/smbd: all callers of defer_open() pass a lck

No change in behaviour. Update the function comment explaining how it
works and relies on lck for a record watch.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1a6c82e5d5a3462827ee3fe1edab01f535f831a9)
source3/smbd/open.c