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:
parent
da9cee8ee5
commit
9001c53406
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user