]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Remove a misleading comment
authorVolker Lendecke <vl@samba.org>
Fri, 9 Aug 2019 11:48:53 +0000 (13:48 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 19 Aug 2019 23:14:38 +0000 (23:14 +0000)
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>
source3/smbd/open.c

index 8d0464870f66d38df5a3bc17954fab86d25a42ec..1fd2cb721f4c7d09a3488ff9914ef2167866d6bb 100644 (file)
@@ -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])) {