summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-08-21 13:54:52 -0700
committerJeremy Allison <jra@samba.org>2019-08-22 18:00:35 +0000
commit5132e78c95c8f81ffae55e348619f7ffe0e6698f (patch)
treed51a0f6a7b87773199625cf8ff124dc6ca173b09 /source3
parent9ba187a5fc8d8e180245ee5741728322ff581103 (diff)
downloadsamba-5132e78c95c8f81ffae55e348619f7ffe0e6698f.tar.gz
s3: VFS: vfs_syncops. Remove mknod_fn(). No longer used.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_syncops.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/modules/vfs_syncops.c b/source3/modules/vfs_syncops.c
index d5a3e964298..04a0180a2fb 100644
--- a/source3/modules/vfs_syncops.c
+++ b/source3/modules/vfs_syncops.c
@@ -231,15 +231,6 @@ static int syncops_unlink(vfs_handle_struct *handle,
SYNCOPS_NEXT_SMB_FNAME(UNLINK, smb_fname, (handle, smb_fname));
}
-static int syncops_mknod(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- mode_t mode,
- SMB_DEV_T dev)
-{
- SYNCOPS_NEXT_SMB_FNAME(MKNOD,
- smb_fname, (handle, smb_fname, mode, dev));
-}
-
static int syncops_mknodat(vfs_handle_struct *handle,
files_struct *dirfsp,
const struct smb_filename *smb_fname,
@@ -328,7 +319,6 @@ static struct vfs_fn_pointers vfs_syncops_fns = {
.unlink_fn = syncops_unlink,
.symlink_fn = syncops_symlink,
.linkat_fn = syncops_linkat,
- .mknod_fn = syncops_mknod,
.mknodat_fn = syncops_mknodat,
.close_fn = syncops_close,
};