From: Noel Power Date: Wed, 28 Apr 2021 14:10:07 +0000 (+0100) Subject: s3/smbd: filename: vfs_streaminfo -> vfs_fstreaminfo X-Git-Tag: tevent-0.11.0~920 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8331852d6becad1aeef25890774a4b0761b7a87a;p=thirdparty%2Fsamba.git s3/smbd: filename: vfs_streaminfo -> vfs_fstreaminfo Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index f2b837d0263..5d7a51b8031 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -1758,7 +1758,7 @@ static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx, } /* Fall back to a case-insensitive scan of all streams on the file. */ - status = vfs_streaminfo(conn, NULL, pathref, mem_ctx, + status = vfs_fstreaminfo(pathref->fsp, mem_ctx, &num_streams, &streams); if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) { SET_STAT_INVALID(smb_fname->st); @@ -1767,7 +1767,7 @@ static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx, } if (!NT_STATUS_IS_OK(status)) { - DEBUG(10, ("vfs_streaminfo failed: %s\n", nt_errstr(status))); + DEBUG(10, ("vfs_fstreaminfo failed: %s\n", nt_errstr(status))); goto fail; }