summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-05-16 12:23:26 +0200
committerJeremy Allison <jra@samba.org>2019-05-16 22:33:21 +0000
commit8c6fd8bb07d6a2f6ded43f584627faa8432eab67 (patch)
treed5b6d6e64e6a5efada19c7e943ce18201bfc9c69
parent1078b273f84cf216b50ddec18ee6a2b3c8c17bc6 (diff)
downloadsamba-8c6fd8bb07d6a2f6ded43f584627faa8432eab67.tar.gz
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>
-rw-r--r--source3/smbd/open.c4
1 files changed, 0 insertions, 4 deletions
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;
}