summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-08 10:00:47 +0100
committerMichael Adam <obnox@samba.org>2008-01-08 10:00:47 +0100
commit50ee744fa445b74136a8f2cef36c2b48ba7ee5f6 (patch)
tree343f78f7f61541d67ba84c2d22aff1238db37cac /source3/smbd
parent66273a795328768647c1be0d90885b15a095a011 (diff)
downloadsamba-50ee744fa445b74136a8f2cef36c2b48ba7ee5f6.tar.gz
samba-50ee744fa445b74136a8f2cef36c2b48ba7ee5f6.tar.bz2
samba-50ee744fa445b74136a8f2cef36c2b48ba7ee5f6.zip
Remove redundant parameter fd from SMB_VFS_FGETXATTR().
Michael (This used to be commit 2cb739a82dc6bb194d60718cc74b26ee7c1c46a7)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/posix_acls.c2
-rw-r--r--source3/smbd/trans2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index b6cb1d2e54..be05ebd2ab 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -445,7 +445,7 @@ static struct pai_val *fload_inherited_info(files_struct *fsp)
do {
if (fsp->fh->fd != -1)
- ret = SMB_VFS_FGETXATTR(fsp, fsp->fh->fd, SAMBA_POSIX_INHERITANCE_EA_NAME,
+ ret = SMB_VFS_FGETXATTR(fsp, SAMBA_POSIX_INHERITANCE_EA_NAME,
pai_buf, pai_buf_size);
else
ret = SMB_VFS_GETXATTR(fsp->conn,fsp->fsp_name,SAMBA_POSIX_INHERITANCE_EA_NAME,
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 611f803210..42914298fa 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -130,7 +130,7 @@ static bool get_ea_value(TALLOC_CTX *mem_ctx, connection_struct *conn, files_str
}
if (fsp && fsp->fh->fd != -1) {
- sizeret = SMB_VFS_FGETXATTR(fsp, fsp->fh->fd, ea_name, val, attr_size);
+ sizeret = SMB_VFS_FGETXATTR(fsp, ea_name, val, attr_size);
} else {
sizeret = SMB_VFS_GETXATTR(conn, fname, ea_name, val, attr_size);
}