summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 12:49:02 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:01 +0100
commit8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7 (patch)
tree80d5b92ffab1ea14bf2c763b797097a65fa72941 /examples
parent6f657c873efa4779e762a8f9ede97e19da6fb7ec (diff)
downloadsamba-8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7.tar.gz
samba-8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7.tar.bz2
samba-8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7.zip
Remove redundant parameter fd from SMB_VFS_FSYNC().
Michael (This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)
Diffstat (limited to 'examples')
-rw-r--r--examples/VFS/skel_opaque.c4
-rw-r--r--examples/VFS/skel_transparent.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index ea525bf2dd..2ae24312b4 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -171,9 +171,9 @@ static int skel_rename(vfs_handle_struct *handle, const char *oldname, const ch
return vfswrap_rename(NULL, oldname, newname);
}
-static int skel_fsync(vfs_handle_struct *handle, files_struct *fsp, int fd)
+static int skel_fsync(vfs_handle_struct *handle, files_struct *fsp)
{
- return vfswrap_fsync(NULL, fsp, fd);
+ return vfswrap_fsync(NULL, fsp);
}
static int skel_stat(vfs_handle_struct *handle, const char *fname, SMB_STRUCT_STAT *sbuf)
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 8772718a74..ea20312514 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -164,9 +164,9 @@ static int skel_rename(vfs_handle_struct *handle, const char *oldname, const ch
return SMB_VFS_NEXT_RENAME(handle, oldname, newname);
}
-static int skel_fsync(vfs_handle_struct *handle, files_struct *fsp, int fd)
+static int skel_fsync(vfs_handle_struct *handle, files_struct *fsp)
{
- return SMB_VFS_NEXT_FSYNC(handle, fsp, fd);
+ return SMB_VFS_NEXT_FSYNC(handle, fsp);
}
static int skel_stat(vfs_handle_struct *handle, const char *fname, SMB_STRUCT_STAT *sbuf)