From: Volker Lendecke Date: Fri, 9 Aug 2019 11:48:53 +0000 (+0200) Subject: smbd: Remove a misleading comment X-Git-Tag: tdb-1.4.2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeb4265ec2f5d75250b1bc4d884628426df28dca;p=thirdparty%2Fsamba.git smbd: Remove a misleading comment open_mode_check() is done before the oplock breaks. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Böhme --- 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])) {