summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_cap.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/modules/vfs_cap.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/modules/vfs_cap.c')
-rw-r--r--source3/modules/vfs_cap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_cap.c b/source3/modules/vfs_cap.c
index ab76722f4c..2f2d6a7182 100644
--- a/source3/modules/vfs_cap.c
+++ b/source3/modules/vfs_cap.c
@@ -455,7 +455,7 @@ static int cap_lsetxattr(vfs_handle_struct *handle, const char *path, const char
return SMB_VFS_NEXT_LSETXATTR(handle, cappath, capname, value, size, flags);
}
-static int cap_fsetxattr(vfs_handle_struct *handle, struct files_struct *fsp,int fd, const char *path, const void *value, size_t size, int flags)
+static int cap_fsetxattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *path, const void *value, size_t size, int flags)
{
char *cappath = capencode(talloc_tos(), path);
@@ -463,7 +463,7 @@ static int cap_fsetxattr(vfs_handle_struct *handle, struct files_struct *fsp,int
errno = ENOMEM;
return -1;
}
- return SMB_VFS_NEXT_FSETXATTR(handle, fsp, fd, cappath, value, size, flags);
+ return SMB_VFS_NEXT_FSETXATTR(handle, fsp, cappath, value, size, flags);
}
/* VFS operations structure */