diff options
author | Samuel Cabrero <scabrero@samba.org> | 2021-04-13 18:00:29 +0200 |
---|---|---|
committer | Samuel Cabrero <scabrero@sn-devel-184> | 2021-04-19 13:19:35 +0000 |
commit | aa2ab7feb10f7c8bc0d84e3dabb484f728f6f3ba (patch) | |
tree | 087df743c77daff6c1eadfe5f1b20aaf8e4be6ae /examples | |
parent | 34f5594f2e3cbf76fb88e6d5210a66a542e59f1b (diff) | |
download | samba-aa2ab7feb10f7c8bc0d84e3dabb484f728f6f3ba.tar.gz |
s3: VFS: Remove SMB_VFS_NTIMES(), no longer used
---------------
/ \
/ REST \
/ IN \
/ PEACE \
/ \
| |
| SMB_VFS_NTIMES |
| |
| |
| 13 April |
| 2021 |
| |
| |
*| * * * | *
_________)/\\_//(\/(/\)/\//\/\////|_)_______
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Samuel Cabrero <scabrero@samba.org>
Autobuild-Date(master): Mon Apr 19 13:19:35 UTC 2021 on sn-devel-184
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 a8deb8a6da6..56d2e42d160 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -399,14 +399,6 @@ static struct smb_filename *skel_getwd(vfs_handle_struct *handle, return NULL; } -static int skel_ntimes(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - struct smb_file_time *ft) -{ - errno = ENOSYS; - return -1; -} - static int skel_fntimes(vfs_handle_struct *handle, files_struct *fsp, struct smb_file_time *ft) @@ -1042,7 +1034,6 @@ static struct vfs_fn_pointers skel_opaque_fns = { .lchown_fn = skel_lchown, .chdir_fn = skel_chdir, .getwd_fn = skel_getwd, - .ntimes_fn = skel_ntimes, .fntimes_fn = skel_fntimes, .ftruncate_fn = skel_ftruncate, .fallocate_fn = skel_fallocate, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index ba5afad1f3d..c5bcc5314d8 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -523,13 +523,6 @@ static struct smb_filename *skel_getwd(vfs_handle_struct *handle, return SMB_VFS_NEXT_GETWD(handle, ctx); } -static int skel_ntimes(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - struct smb_file_time *ft) -{ - return SMB_VFS_NEXT_NTIMES(handle, smb_fname, ft); -} - static int skel_fntimes(vfs_handle_struct *handle, files_struct *fsp, struct smb_file_time *ft) @@ -1347,7 +1340,6 @@ static struct vfs_fn_pointers skel_transparent_fns = { .lchown_fn = skel_lchown, .chdir_fn = skel_chdir, .getwd_fn = skel_getwd, - .ntimes_fn = skel_ntimes, .fntimes_fn = skel_fntimes, .ftruncate_fn = skel_ftruncate, .fallocate_fn = skel_fallocate, |