s3/smbd: all callers of defer_open() pass a lck
commitec6794d270d0b342f976f0a76675112c02ae5d12
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 11:49:24 +0000 (14 12:49 +0100)
tree980450962a4cdcd2d8725d96dce76bdff7dfbfa6
parent9bbccbb1d29298235744537cd6a68845b3f60e13
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>
(backported from commit 1a6c82e5d5a3462827ee3fe1edab01f535f831a9)
source3/smbd/open.c