summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-06-25 17:24:19 -0700
committerTim Prouty <tprouty@samba.org>2009-06-25 18:25:48 -0700
commit9001c53406241aeab4a3cfe0f663b71f67611cde (patch)
tree5dad053b851ef773b7061915c95a4409618f71d2 /source3
parentda9cee8ee5424d79e5c51082e1b74a1bb2cc162e (diff)
downloadsamba-9001c53406241aeab4a3cfe0f663b71f67611cde.tar.gz
samba-9001c53406241aeab4a3cfe0f663b71f67611cde.tar.bz2
samba-9001c53406241aeab4a3cfe0f663b71f67611cde.zip
s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname()
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/nttrans.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 222caae516..560b844a56 100644
--- 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;
}