]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3/smbd: filename: vfs_streaminfo -> vfs_fstreaminfo
authorNoel Power <noel.power@suse.com>
Wed, 28 Apr 2021 14:10:07 +0000 (15:10 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 11 May 2021 15:49:28 +0000 (15:49 +0000)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/filename.c

index f2b837d026352db58bb8948c3e7dbad3e4181282..5d7a51b8031091bb102df07286fbbb38bd576b1e 100644 (file)
@@ -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;
        }