From 41857bd0f73bf294fa98d6e697ac563297b24310 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 3 Sep 2013 13:31:27 +0000 Subject: smbd: Fix confusing comments The brlock-check is done in grant_fsp_oplock_type Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- source3/smbd/open.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/smbd/open.c') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 1a86233fd9..858d2befc2 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2676,8 +2676,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, status = set_file_oplock(fsp, fsp->oplock_type); if (!NT_STATUS_IS_OK(status)) { /* - * Could not get the kernel oplock or there are byte-range - * locks on the file. + * Could not get the kernel oplock */ fsp->oplock_type = NO_OPLOCK; } -- cgit