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)
.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,
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)
.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,
SMBPROFILE_STATS_BASIC(syscall_lchown) \
SMBPROFILE_STATS_BASIC(syscall_chdir) \
SMBPROFILE_STATS_BASIC(syscall_getwd) \
- SMBPROFILE_STATS_BASIC(syscall_ntimes) \
SMBPROFILE_STATS_BASIC(syscall_fntimes) \
SMBPROFILE_STATS_BASIC(syscall_ftruncate) \
SMBPROFILE_STATS_BASIC(syscall_fallocate) \
* Version 45 - Remove SMB_VFS_GET_DOS_ATTRIBUTES()
* Version 45 - Remove SMB_VFS_CHMOD
* Version 45 - Add SMB_VFS_FNTIMES
+ * Version 45 - Remove SMB_VFS_NTIMES
*/
#define SMB_VFS_INTERFACE_VERSION 45
const struct smb_filename *smb_fname);
struct smb_filename *(*getwd_fn)(struct vfs_handle_struct *handle,
TALLOC_CTX *mem_ctx);
- int (*ntimes_fn)(struct vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- struct smb_file_time *ft);
int (*fntimes_fn)(struct vfs_handle_struct *handle,
struct files_struct *fsp,
struct smb_file_time *ft);
#define SMB_VFS_NEXT_GETWD(handle, ctx) \
smb_vfs_call_getwd((handle)->next, (ctx))
-#define SMB_VFS_NTIMES(conn, path, ts) \
- smb_vfs_call_ntimes((conn)->vfs_handles, (path), (ts))
-#define SMB_VFS_NEXT_NTIMES(handle, path, ts) \
- smb_vfs_call_ntimes((handle)->next, (path), (ts))
-
#define SMB_VFS_FNTIMES(fsp, ts) \
smb_vfs_call_fntimes((fsp)->conn->vfs_handles, (fsp), (ts))
#define SMB_VFS_NEXT_FNTIMES(handle, fsp, ts) \
| SMB_VFS_LSTAT() | [[Path][Path]] | Todo |
| SMB_VFS_MKDIRAT() | [[NsC][NsC]] | - |
| SMB_VFS_MKNODAT() | [[NsC][NsC]] | - |
-| SMB_VFS_NTIMES() | [[Path][Path]] | Todo |
+| SMB_VFS_NTIMES() | [[Path][Path]] | - |
| SMB_VFS_OFFLOAD_READ_RECV() | [[fsp][fsp]] | - |
| SMB_VFS_OFFLOAD_READ_SEND() | [[fsp][fsp]] | - |
| SMB_VFS_OFFLOAD_WRITE_RECV() | [[fsp][fsp]] | - |
|---------------------------------+----------+--------|
| SMB_VFS_SYS_ACL_DELETE_DEF_FD() | [[xpathref][xpathref]] | Todo |
| SMB_VFS_READDIR_ATTRAT() | [[Enum][Enum]] | Todo |
-| SMB_VFS_FUTIMENS() | [[fsp][fsp]] | Todo |
+| SMB_VFS_FNTIMENS() | [[fsp][fsp]] | - |
|---------------------------------+----------+--------|
** VFS functions by category
SMB_VFS_LSTAT() [Path] Todo
SMB_VFS_MKDIRAT() [NsC] -
SMB_VFS_MKNODAT() [NsC] -
- SMB_VFS_NTIMES() [Path] Todo
+ SMB_VFS_NTIMES() [Path] -
SMB_VFS_OFFLOAD_READ_RECV() [fsp] -
SMB_VFS_OFFLOAD_READ_SEND() [fsp] -
SMB_VFS_OFFLOAD_WRITE_RECV() [fsp] -
─────────────────────────────────────────────────────
SMB_VFS_SYS_ACL_DELETE_DEF_FD() [xpathref] Todo
SMB_VFS_READDIR_ATTRAT() [Enum] Todo
- SMB_VFS_FUTIMENS() [fsp] Todo
+ SMB_VFS_FNTIMENS() [fsp] -
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
return handle->fns->getwd_fn(handle, ctx);
}
-int smb_vfs_call_ntimes(struct vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- struct smb_file_time *ft)
-{
- VFS_FIND(ntimes);
- return handle->fns->ntimes_fn(handle, smb_fname, ft);
-}
-
int smb_vfs_call_fntimes(struct vfs_handle_struct *handle,
struct files_struct *fsp,
struct smb_file_time *ft)