mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
smbd: We have the fsp available, use fsp_is_alternate_stream()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
118b63bb2c
commit
1912a0d65c
@ -441,7 +441,7 @@ static NTSTATUS close_remove_share_mode(files_struct *fsp,
|
||||
}
|
||||
|
||||
if ((conn->fs_capabilities & FILE_NAMED_STREAMS)
|
||||
&& !is_ntfs_stream_smb_fname(fsp->fsp_name)) {
|
||||
&& !fsp_is_alternate_stream(fsp)) {
|
||||
|
||||
status = delete_all_streams(conn, fsp->fsp_name);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user