]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3/smbd: trans2: vfs_streaminfo -> vfs_fstreaminfo
authorNoel Power <noel.power@suse.com>
Wed, 28 Apr 2021 12:59:22 +0000 (13:59 +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/trans2.c

index 9aa2495792eedcf2d4daa7ddd4f3e2fe45ecb880..8075a7f60f4380a186bf09e46433487b8ca16d5a 100644 (file)
@@ -5789,10 +5789,8 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
                                return NT_STATUS_INVALID_PARAMETER;
                        }
 
-                       status = vfs_streaminfo(conn,
-                                               fsp,
-                                               smb_fname,
-                                               talloc_tos(),
+                       status = vfs_fstreaminfo(fsp,
+                                               mem_ctx,
                                                &num_streams,
                                                &streams);