diff options
author | Michael Adam <obnox@samba.org> | 2008-01-08 11:47:33 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-08 11:47:33 +0100 |
commit | aab6704ce803a738ba125895b20a31f242fe2885 (patch) | |
tree | 1e2657b69b401cf2084c83e4e18620e9b31c1670 /source3/modules/vfs_default.c | |
parent | 1590dd32cfccd9ce73cd798330b5207bcc48bfaf (diff) | |
download | samba-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/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index fecf0562b8..3abe1483bb 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -1186,9 +1186,9 @@ static int vfswrap_lsetxattr(struct vfs_handle_struct *handle, const char *path, return sys_lsetxattr(path, name, value, size, flags); } -static int vfswrap_fsetxattr(struct vfs_handle_struct *handle, struct files_struct *fsp,int fd, const char *name, const void *value, size_t size, int flags) +static int vfswrap_fsetxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name, const void *value, size_t size, int flags) { - return sys_fsetxattr(fd, name, value, size, flags); + return sys_fsetxattr(fsp->fh->fd, name, value, size, flags); } static int vfswrap_aio_read(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb) |