From e00df42a37ab8ae9818d2dfd33effc160b9ff3c1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 13 Sep 2012 15:51:44 +0200 Subject: [PATCH] s3: Remove a SMB_ASSERT With the simplified logic this became unnecessary --- source3/smbd/open.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index b4eeeca5955..0f34992454b 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2487,8 +2487,6 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, * We have the share entry *locked*..... */ - SMB_ASSERT(lck != NULL); - /* Delete streams if create_disposition requires it */ if (!new_file_created && clear_ads(create_disposition) && !is_ntfs_stream_smb_fname(smb_fname)) { -- 2.11.4.GIT