From 250b2496bda37d28a78d79feee9f87f97088d460 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 28 Apr 2021 15:35:59 +0100 Subject: [PATCH] s3/smbd: open: vfs_streaminfo -> vfs_fstreaminfo Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- source3/smbd/open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 1659df90366..4a5d57cfb7b 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -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; } -- 2.11.4.GIT