git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7e75b
)
s3: Remove a SMB_ASSERT
author
Volker Lendecke
<vl@samba.org>
Thu, 13 Sep 2012 13:51:44 +0000
(15:51 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 29 Sep 2012 15:42:50 +0000
(08:42 -0700)
With the simplified logic this became unnecessary
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index b4eeeca5955ca451d5f769488b983cd9a705639e..0f34992454bcad73bd06f931488ce336ed5acfb9 100644
(file)
--- 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)) {