summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-12-03 17:44:38 -0800
committerJeremy Allison <jra@samba.org>2009-12-03 17:44:38 -0800
commit66c968778d74280bf36342e76c80b617e47ebde5 (patch)
tree69dd68fb6cda3f20ee99a168282f754c110e16f5 /source3
parent3fe7dfd1d90374a2e06e1683b8f2c702c471c833 (diff)
downloadsamba-66c968778d74280bf36342e76c80b617e47ebde5.tar.gz
samba-66c968778d74280bf36342e76c80b617e47ebde5.tar.bz2
samba-66c968778d74280bf36342e76c80b617e47ebde5.zip
Make sure we're not using the old smb_fname data.
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
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;
}