From: Noel Power Date: Wed, 28 Apr 2021 12:13:36 +0000 (+0100) Subject: s3/smbd: ntrans: vfs_streaminfo -> vfs_fstreaminfo X-Git-Tag: tevent-0.11.0~923 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40d44601cf1f5245fd0625d2a1b43316cae1eb62;p=thirdparty%2Fsamba.git s3/smbd: ntrans: vfs_streaminfo -> vfs_fstreaminfo Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 921f3fa692c..ab9b2f06b4f 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -794,7 +794,7 @@ void reply_ntcreate_and_X(struct smb_request *req) } } - status = vfs_streaminfo(conn, NULL, smb_fname, ctx, + status = vfs_fstreaminfo(smb_fname->fsp, ctx, &num_streams, &streams); /* There is always one stream, ::$DATA. */ if (NT_STATUS_IS_OK(status) && num_streams > 1) { @@ -1480,7 +1480,7 @@ static void call_nt_transact_create(connection_struct *conn, } } - status = vfs_streaminfo(conn, NULL, smb_fname, ctx, + status = vfs_fstreaminfo(smb_fname->fsp, ctx, &num_streams, &streams); /* There is always one stream, ::$DATA. */ if (NT_STATUS_IS_OK(status) && num_streams > 1) {