From 5132e78c95c8f81ffae55e348619f7ffe0e6698f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 21 Aug 2019 13:54:52 -0700 Subject: s3: VFS: vfs_syncops. Remove mknod_fn(). No longer used. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jeremy Allison Reviewed-by: Ralph Böhme --- source3/modules/vfs_syncops.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source3') 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, }; -- cgit v1.2.1