From: Jeremy Allison Date: Fri, 4 Dec 2009 01:44:38 +0000 (-0800) Subject: Make sure we're not using the old smb_fname data. X-Git-Tag: samba-4.0.0alpha10~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66c968778d74280bf36342e76c80b617e47ebde5;p=thirdparty%2Fsamba.git Make sure we're not using the old smb_fname data. Jeremy. --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 0ef8ed2d4eb..9dc8320b684 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; }