From 9001c53406241aeab4a3cfe0f663b71f67611cde Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 25 Jun 2009 17:24:19 -0700 Subject: [PATCH] s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname() --- source3/smbd/nttrans.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 222caae5169c..560b844a56c8 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; } -- 2.34.1