1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s3: Remove a SMB_ASSERT

With the simplified logic this became unnecessary
This commit is contained in:
Volker Lendecke 2012-09-13 15:51:44 +02:00
parent 8b7e75b358
commit e00df42a37

View File

@ -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)) {