summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}