1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname()

This commit is contained in:
Tim Prouty 2009-06-25 17:24:19 -07:00
parent da9cee8ee5
commit 9001c53406

View File

@ -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;
}