From: Noel Power Date: Wed, 28 Apr 2021 14:35:59 +0000 (+0100) Subject: s3/smbd: open: vfs_streaminfo -> vfs_fstreaminfo X-Git-Tag: tevent-0.11.0~919 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=250b2496bda37d28a78d79feee9f87f97088d460;p=thirdparty%2Fsamba.git s3/smbd: open: vfs_streaminfo -> vfs_fstreaminfo Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- 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; }