]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: vfs_syncops. Remove mknod_fn(). No longer used.
authorJeremy Allison <jra@samba.org>
Wed, 21 Aug 2019 20:54:52 +0000 (13:54 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 22 Aug 2019 18:00:35 +0000 (18:00 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
source3/modules/vfs_syncops.c

index d5a3e9642986a2c01bb6b2b88c6e3ac7ecd6ca76..04a0180a2fbf2ebfb7cfaf00764ac847a3688dc4 100644 (file)
@@ -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,
 };