diff options
author | Jeremy Allison <jra@samba.org> | 2019-08-21 13:45:52 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-08-22 18:00:34 +0000 |
commit | 0e701ce3152fb71bc0d7e3271602fef067be7bcd (patch) | |
tree | c3def6a266943f4ce922438a3140dd45d6b78a5b /source3 | |
parent | 0d606ef6c4ce5948424c779fe951f6cbc2cae021 (diff) | |
download | samba-0e701ce3152fb71bc0d7e3271602fef067be7bcd.tar.gz |
s3: VFS: vfs_ceph. 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_ceph.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index 1beafba4f7b..4ccadae0e5c 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -1178,18 +1178,6 @@ static int cephwrap_linkat(struct vfs_handle_struct *handle, WRAP_RETURN(result); } -static int cephwrap_mknod(struct vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - mode_t mode, - SMB_DEV_T dev) -{ - int result = -1; - DBG_DEBUG("[CEPH] mknod(%p, %s)\n", handle, smb_fname->base_name); - result = ceph_mknod(handle->data, smb_fname->base_name, mode, dev); - DBG_DEBUG("[CEPH] mknod(...) = %d\n", result); - WRAP_RETURN(result); -} - static int cephwrap_mknodat(struct vfs_handle_struct *handle, files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -1473,7 +1461,6 @@ static struct vfs_fn_pointers ceph_fns = { .symlink_fn = cephwrap_symlink, .readlink_fn = cephwrap_readlink, .linkat_fn = cephwrap_linkat, - .mknod_fn = cephwrap_mknod, .mknodat_fn = cephwrap_mknodat, .realpath_fn = cephwrap_realpath, .chflags_fn = cephwrap_chflags, |