summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-09-13 15:51:44 +0200
committerVolker Lendecke <vl@samba.org>2012-09-29 08:42:50 -0700
commite00df42a37ab8ae9818d2dfd33effc160b9ff3c1 (patch)
tree19f9f283e64adcce0b69a02684a69e51fac9f717 /source3
parent8b7e75b3582f288774016ab3d5d32911959da5aa (diff)
downloadsamba-e00df42a37ab8ae9818d2dfd33effc160b9ff3c1.tar.gz
samba-e00df42a37ab8ae9818d2dfd33effc160b9ff3c1.tar.bz2
samba-e00df42a37ab8ae9818d2dfd33effc160b9ff3c1.zip
s3: Remove a SMB_ASSERT
With the simplified logic this became unnecessary
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index b4eeeca595..0f34992454 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)) {