From: Noel Power Date: Wed, 28 Apr 2021 13:33:02 +0000 (+0100) Subject: s3/smbd: close vfs_streaminfo->vfs_fstreaminfo X-Git-Tag: tevent-0.11.0~921 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b9b1c24d48b1fd5bd956613512f82b17a481164;p=thirdparty%2Fsamba.git s3/smbd: close vfs_streaminfo->vfs_fstreaminfo Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 4e062f470ec..4cb9b4e6d57 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -157,7 +157,7 @@ NTSTATUS delete_all_streams(connection_struct *conn, TALLOC_CTX *frame = talloc_stackframe(); NTSTATUS status; - status = vfs_streaminfo(conn, NULL, smb_fname, talloc_tos(), + status = vfs_fstreaminfo(smb_fname->fsp, talloc_tos(), &num_streams, &stream_info); if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) { @@ -167,7 +167,7 @@ NTSTATUS delete_all_streams(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; }