From: Volker Lendecke Date: Thu, 16 May 2019 10:23:26 +0000 (+0200) Subject: smbd: Remove an obsolete comment from share_conflict() X-Git-Tag: tdb-1.4.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c6fd8bb07d6a2f6ded43f584627faa8432eab67;p=thirdparty%2Fsamba.git 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 Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index e9112dcfcf2..b6ae3d36ac1 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -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; }