summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-08 11:47:33 +0100
committerMichael Adam <obnox@samba.org>2008-01-08 11:47:33 +0100
commitaab6704ce803a738ba125895b20a31f242fe2885 (patch)
tree1e2657b69b401cf2084c83e4e18620e9b31c1670 /source3/smbd/trans2.c
parent1590dd32cfccd9ce73cd798330b5207bcc48bfaf (diff)
downloadsamba-aab6704ce803a738ba125895b20a31f242fe2885.tar.gz
samba-aab6704ce803a738ba125895b20a31f242fe2885.tar.bz2
samba-aab6704ce803a738ba125895b20a31f242fe2885.zip
Remove redundant parameter fd from SMB_VFS_FSETXATTR().
Michael (This used to be commit 0bd2643463a9160c8a1c7e1c2f8cca7b89060e09)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index c20d930433..485513c734 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -373,7 +373,7 @@ NTSTATUS set_ea(connection_struct *conn, files_struct *fsp, const char *fname, s
if (fsp && (fsp->fh->fd != -1)) {
DEBUG(10,("set_ea: setting ea name %s on file %s by file descriptor.\n",
unix_ea_name, fsp->fsp_name));
- ret = SMB_VFS_FSETXATTR(fsp, fsp->fh->fd, unix_ea_name,
+ ret = SMB_VFS_FSETXATTR(fsp, unix_ea_name,
ea_list->ea.value.data, ea_list->ea.value.length, 0);
} else {
DEBUG(10,("set_ea: setting ea name %s on file %s.\n",