1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

smbd: Remove an obsolete comment from share_conflict()

delay_for_batch_oplocks() is no more. Also, open_mode_check (which
calls into this routine) is called before delay_for_oplock.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2019-05-16 12:23:26 +02:00 committed by Jeremy Allison
parent 1078b273f8
commit 8c6fd8bb07

View File

@ -1472,10 +1472,6 @@ static bool share_conflict(struct share_mode_entry *entry,
(unsigned int)entry->private_options));
if (server_id_is_disconnected(&entry->pid)) {
/*
* note: cleanup should have been done by
* delay_for_batch_oplocks()
*/
return false;
}