From c3bdcab5161107be8155a7913d9cb325383a781d Mon Sep 17 00:00:00 2001 From: Frank Lahm Date: Mon, 17 Oct 2011 11:10:29 -0700 Subject: First part of fix for bug #8419 - Make VFS op "streaminfo" stackable. Autobuild-User: Jeremy Allison Autobuild-Date: Mon Oct 17 21:39:32 CEST 2011 on sn-devel-104 --- source3/smbd/nttrans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/nttrans.c') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 2d6fa264cc..8e78d3cd9c 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -702,7 +702,7 @@ void reply_ntcreate_and_X(struct smb_request *req) if (NT_STATUS_IS_OK(status) && num_names) { file_status &= ~NO_EAS; } - status = SMB_VFS_STREAMINFO(conn, NULL, smb_fname->base_name, ctx, + status = vfs_streaminfo(conn, NULL, smb_fname->base_name, ctx, &num_streams, &streams); /* There is always one stream, ::$DATA. */ if (NT_STATUS_IS_OK(status) && num_streams > 1) { @@ -1283,7 +1283,7 @@ static void call_nt_transact_create(connection_struct *conn, if (NT_STATUS_IS_OK(status) && num_names) { file_status &= ~NO_EAS; } - status = SMB_VFS_STREAMINFO(conn, NULL, smb_fname->base_name, ctx, + status = vfs_streaminfo(conn, NULL, smb_fname->base_name, ctx, &num_streams, &streams); /* There is always one stream, ::$DATA. */ if (NT_STATUS_IS_OK(status) && num_streams > 1) { -- cgit