summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-08-09 13:48:53 +0200
committerJeremy Allison <jra@samba.org>2019-08-19 23:14:38 +0000
commitaeb4265ec2f5d75250b1bc4d884628426df28dca (patch)
tree2afd6183c42076082ef15f2598388e0df874cf5e
parentd09bd5f8fd4b2de28efcefc5839bd69bb088b88f (diff)
downloadsamba-aeb4265ec2f5d75250b1bc4d884628426df28dca.tar.gz
smbd: Remove a misleading comment
open_mode_check() is done before the oplock breaks. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
-rw-r--r--source3/smbd/open.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 8d0464870f6..1fd2cb721f4 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1655,7 +1655,6 @@ static NTSTATUS open_mode_check(connection_struct *conn,
}
#endif
- /* Now we check the share modes, after any oplock breaks. */
for(i = 0; i < lck->data->num_share_modes; i++) {
if (!is_valid_share_mode_entry(&lck->data->share_modes[i])) {