summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_default.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-08 11:29:09 +0100
committerMichael Adam <obnox@samba.org>2008-01-08 11:29:09 +0100
commit1590dd32cfccd9ce73cd798330b5207bcc48bfaf (patch)
tree0c1336d1d9a7870bee5a8c1206a9af38856a9c74 /source3/modules/vfs_default.c
parent9f691df852581b1ae4fab7cb9907606f4dcab291 (diff)
downloadsamba-1590dd32cfccd9ce73cd798330b5207bcc48bfaf.tar.gz
samba-1590dd32cfccd9ce73cd798330b5207bcc48bfaf.tar.bz2
samba-1590dd32cfccd9ce73cd798330b5207bcc48bfaf.zip
Remove redundant parameter fd from SMB_VFS_FREMOVEXATTR().
Michael (This used to be commit bfc3b5a27f707d3e4b8d5d66192891e22365fbb3)
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 b96a2d201c..fecf0562b8 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1171,9 +1171,9 @@ static int vfswrap_lremovexattr(struct vfs_handle_struct *handle, const char *pa
return sys_lremovexattr(path, name);
}
-static int vfswrap_fremovexattr(struct vfs_handle_struct *handle, struct files_struct *fsp,int fd, const char *name)
+static int vfswrap_fremovexattr(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name)
{
- return sys_fremovexattr(fd, name);
+ return sys_fremovexattr(fsp->fh->fd, name);
}
static int vfswrap_setxattr(struct vfs_handle_struct *handle, const char *path, const char *name, const void *value, size_t size, int flags)