summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_cap.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_cap.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_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 56ab48f9e2..ab76722f4c 100644
--- a/source3/modules/vfs_cap.c
+++ b/source3/modules/vfs_cap.c
@@ -420,7 +420,7 @@ static int cap_lremovexattr(vfs_handle_struct *handle, const char *path, const c
return SMB_VFS_NEXT_LREMOVEXATTR(handle, cappath, capname);
}
-static int cap_fremovexattr(vfs_handle_struct *handle, struct files_struct *fsp,int fd, const char *path)
+static int cap_fremovexattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *path)
{
char *cappath = capencode(talloc_tos(), path);
@@ -428,7 +428,7 @@ static int cap_fremovexattr(vfs_handle_struct *handle, struct files_struct *fsp,
errno = ENOMEM;
return -1;
}
- return SMB_VFS_NEXT_FREMOVEXATTR(handle, fsp, fd, cappath);
+ return SMB_VFS_NEXT_FREMOVEXATTR(handle, fsp, cappath);
}
static int cap_setxattr(vfs_handle_struct *handle, const char *path, const char *name, const void *value, size_t size, int flags)