diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 14:26:00 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 15:59:02 +0100 |
commit | fbb193db3e0dc51cb000ae406a68bc547f31d9ab (patch) | |
tree | 347fc434ac7aa24ddc2fccb7c2d51993cbf91869 /examples | |
parent | a54d5604da556d1250ca9948d4acc4a187a9fede (diff) | |
download | samba-fbb193db3e0dc51cb000ae406a68bc547f31d9ab.tar.gz samba-fbb193db3e0dc51cb000ae406a68bc547f31d9ab.tar.xz samba-fbb193db3e0dc51cb000ae406a68bc547f31d9ab.zip |
Remove redundant parameter fd from SMB_VFS_FCHOWN().
Michael
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 4 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index ac3ee6bd23c..185694f6fa0 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -211,9 +211,9 @@ static int skel_chown(vfs_handle_struct *handle, const char *path, uid_t uid, g return vfswrap_chown(NULL, path, uid, gid); } -static int skel_fchown(vfs_handle_struct *handle, files_struct *fsp, int fd, uid_t uid, gid_t gid) +static int skel_fchown(vfs_handle_struct *handle, files_struct *fsp, uid_t uid, gid_t gid) { - return vfswrap_fchown(NULL, fsp, fd, uid, gid); + return vfswrap_fchown(NULL, fsp, uid, gid); } static int skel_lchown(vfs_handle_struct *handle, const char *path, uid_t uid, gid_t gid) diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 0cae3794454..d4af67db513 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -204,9 +204,9 @@ static int skel_chown(vfs_handle_struct *handle, const char *path, uid_t uid, g return SMB_VFS_NEXT_CHOWN(handle, path, uid, gid); } -static int skel_fchown(vfs_handle_struct *handle, files_struct *fsp, int fd, uid_t uid, gid_t gid) +static int skel_fchown(vfs_handle_struct *handle, files_struct *fsp, uid_t uid, gid_t gid) { - return SMB_VFS_NEXT_FCHOWN(handle, fsp, fd, uid, gid); + return SMB_VFS_NEXT_FCHOWN(handle, fsp, uid, gid); } static int skel_lchown(vfs_handle_struct *handle, const char *path, uid_t uid, gid_t gid) |