diff options
author | Jeremy Allison <jra@samba.org> | 2019-08-09 16:28:32 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-08-16 19:52:37 +0000 |
commit | 6acf4c35b46e8e7860209be00b688c631f0155bf (patch) | |
tree | f20272d40e14b01cc07968fe1d774960344e7b7d /examples | |
parent | f0ac39d56156257275048a55f101665e32905da9 (diff) | |
download | samba-6acf4c35b46e8e7860209be00b688c631f0155bf.tar.gz |
s3: VFS: Complete the replacement of SMB_VFS_RENAME() -> SMB_VFS_RENAMEAT().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 9 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 8 |
2 files changed, 0 insertions, 17 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index fa0de6680d6..40e16c342ef 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -290,14 +290,6 @@ static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, return -1; } -static int skel_rename(vfs_handle_struct *handle, - const struct smb_filename *smb_fname_src, - const struct smb_filename *smb_fname_dst) -{ - errno = ENOSYS; - return -1; -} - static int skel_renameat(vfs_handle_struct *handle, files_struct *srcfsp, const struct smb_filename *smb_fname_src, @@ -1070,7 +1062,6 @@ static struct vfs_fn_pointers skel_opaque_fns = { .lseek_fn = skel_lseek, .sendfile_fn = skel_sendfile, .recvfile_fn = skel_recvfile, - .rename_fn = skel_rename, .renameat_fn = skel_renameat, .fsync_send_fn = skel_fsync_send, .fsync_recv_fn = skel_fsync_recv, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 82ba5525d42..b5d44377463 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -369,13 +369,6 @@ static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, return SMB_VFS_NEXT_RECVFILE(handle, fromfd, tofsp, offset, n); } -static int skel_rename(vfs_handle_struct *handle, - const struct smb_filename *smb_fname_src, - const struct smb_filename *smb_fname_dst) -{ - return SMB_VFS_NEXT_RENAME(handle, smb_fname_src, smb_fname_dst); -} - static int skel_renameat(vfs_handle_struct *handle, files_struct *srcfsp, const struct smb_filename *smb_fname_src, @@ -1335,7 +1328,6 @@ static struct vfs_fn_pointers skel_transparent_fns = { .lseek_fn = skel_lseek, .sendfile_fn = skel_sendfile, .recvfile_fn = skel_recvfile, - .rename_fn = skel_rename, .renameat_fn = skel_renameat, .fsync_send_fn = skel_fsync_send, .fsync_recv_fn = skel_fsync_recv, |