From 66c968778d74280bf36342e76c80b617e47ebde5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 3 Dec 2009 17:44:38 -0800 Subject: Make sure we're not using the old smb_fname data. Jeremy. --- source3/smbd/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 0ef8ed2d4e..9dc8320b68 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3188,7 +3188,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, if ((ea_list != NULL) && ((info == FILE_WAS_CREATED) || (info == FILE_WAS_OVERWRITTEN))) { - status = set_ea(conn, fsp, smb_fname, ea_list); + status = set_ea(conn, fsp, fsp->fsp_name, ea_list); if (!NT_STATUS_IS_OK(status)) { goto fail; } -- cgit