diff options
author | Jeremy Allison <jra@samba.org> | 2019-08-21 14:49:05 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-08-22 19:17:07 +0000 |
commit | 6a8bc6b549078a09276763f2196bf54c70d5de65 (patch) | |
tree | 17ddadbd94814969edfb1f70ba7bcae308451f8f /examples | |
parent | e37580f45a557ad9f23a7220bd8edae8e6ce7bd5 (diff) | |
download | samba-6a8bc6b549078a09276763f2196bf54c70d5de65.tar.gz |
s3: VFS: Complete the replacement of SMB_VFS_MKNOD() -> SMB_VFS_MKNODAT().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 22 19:17:07 UTC 2019 on sn-devel-184
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 10 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 9 |
2 files changed, 0 insertions, 19 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index a47b98b9896..48d8e3df7f6 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -484,15 +484,6 @@ static int skel_linkat(vfs_handle_struct *handle, return -1; } -static int skel_mknod(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - mode_t mode, - SMB_DEV_T dev) -{ - errno = ENOSYS; - return -1; -} - static int skel_mknodat(vfs_handle_struct *handle, files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -1100,7 +1091,6 @@ static struct vfs_fn_pointers skel_opaque_fns = { .symlink_fn = skel_symlink, .readlink_fn = skel_vfs_readlink, .linkat_fn = skel_linkat, - .mknod_fn = skel_mknod, .mknodat_fn = skel_mknodat, .realpath_fn = skel_realpath, .chflags_fn = skel_chflags, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index e5f6305be4d..ab43118ce37 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -586,14 +586,6 @@ static int skel_linkat(vfs_handle_struct *handle, flags); } -static int skel_mknod(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - mode_t mode, - SMB_DEV_T dev) -{ - return SMB_VFS_NEXT_MKNOD(handle, smb_fname, mode, dev); -} - static int skel_mknodat(vfs_handle_struct *handle, files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -1374,7 +1366,6 @@ static struct vfs_fn_pointers skel_transparent_fns = { .symlink_fn = skel_symlink, .readlink_fn = skel_vfs_readlink, .linkat_fn = skel_linkat, - .mknod_fn = skel_mknod, .mknodat_fn = skel_mknodat, .realpath_fn = skel_realpath, .chflags_fn = skel_chflags, |