smbd: Remove an obsolete comment from share_conflict()
authorVolker Lendecke <vl@samba.org>
Thu, 16 May 2019 10:23:26 +0000 (12:23 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 16 May 2019 22:33:21 +0000 (22:33 +0000)
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>
source3/smbd/open.c

index e9112dcfcf20b1b533ccbe696ef8d615c93776e5..b6ae3d36ac1599f72943fdddd46ece8df6b2077c 100644 (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;
        }