summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_default.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-08 10:51:40 +0100
committerMichael Adam <obnox@samba.org>2008-01-08 10:51:40 +0100
commit9f691df852581b1ae4fab7cb9907606f4dcab291 (patch)
treee7e7e8930ddc2c7ef5512228182d496774c268cd /source3/modules/vfs_default.c
parent50ee744fa445b74136a8f2cef36c2b48ba7ee5f6 (diff)
downloadsamba-9f691df852581b1ae4fab7cb9907606f4dcab291.tar.gz
samba-9f691df852581b1ae4fab7cb9907606f4dcab291.tar.bz2
samba-9f691df852581b1ae4fab7cb9907606f4dcab291.zip
Remove redundant parameter fd from SMB_VFS_FLISTXATTR().
Michael (This used to be commit 167649b3b8bc293f8434ffc9fb5f80463e4e75be)
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r--source3/modules/vfs_default.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index ec6e6e912a..b96a2d201c 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1156,9 +1156,9 @@ ssize_t vfswrap_llistxattr(struct vfs_handle_struct *handle, const char *path, c
return sys_llistxattr(path, list, size);
}
-ssize_t vfswrap_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp,int fd, char *list, size_t size)
+ssize_t vfswrap_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size)
{
- return sys_flistxattr(fd, list, size);
+ return sys_flistxattr(fsp->fh->fd, list, size);
}
static int vfswrap_removexattr(struct vfs_handle_struct *handle, const char *path, const char *name)