1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s3/smbd: open: vfs_streaminfo -> vfs_fstreaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Noel Power 2021-04-28 15:35:59 +01:00 committed by Jeremy Allison
parent 8331852d6b
commit 250b2496bd

View File

@ -4951,7 +4951,7 @@ static NTSTATUS open_streams_for_delete(connection_struct *conn,
} else {
pathref = smb_fname;
}
status = vfs_streaminfo(conn, NULL, pathref, talloc_tos(),
status = vfs_fstreaminfo(pathref->fsp, talloc_tos(),
&num_streams, &stream_info);
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)
@ -4962,7 +4962,7 @@ static NTSTATUS open_streams_for_delete(connection_struct *conn,
}
if (!NT_STATUS_IS_OK(status)) {
DEBUG(10, ("vfs_streaminfo failed: %s\n",
DEBUG(10, ("vfs_fstreaminfo failed: %s\n",
nt_errstr(status)));
goto fail;
}