git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da9cee8
)
s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname()
author
Tim Prouty
<tprouty@samba.org>
Fri, 26 Jun 2009 00:24:19 +0000
(17:24 -0700)
committer
Tim Prouty
<tprouty@samba.org>
Fri, 26 Jun 2009 01:25:48 +0000
(18:25 -0700)
source3/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source3/smbd/nttrans.c
b/source3/smbd/nttrans.c
index 222caae5169ca55f8d45caf0a97662e33a0d34a1..560b844a56c88da39f1b190d234d77a25dea1506 100644
(file)
--- a/
source3/smbd/nttrans.c
+++ b/
source3/smbd/nttrans.c
@@
-322,11
+322,7
@@
bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname)
***************************************************************************/
bool is_ntfs_default_stream_smb_fname(const struct smb_filename *smb_fname)
{
- if (lp_posix_pathnames()) {
- return false;
- }
-
- if (!smb_fname->stream_name) {
+ if (!is_ntfs_stream_smb_fname(smb_fname)) {
return false;
}