diff options
author | Jeremy Allison <jra@samba.org> | 2019-10-10 14:35:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-10-15 20:07:51 +0000 |
commit | b01169ff32188939752c064e2eb803f57a837522 (patch) | |
tree | c5476f4d799c43dee9a00967353eb4955ad903bd /examples | |
parent | e2863a7e395bc5b73f8d9ef7bca7c21f20c7eeb3 (diff) | |
download | samba-b01169ff32188939752c064e2eb803f57a837522.tar.gz |
s3: VFS: Complete the removal of SMB_VFS_CHOWN()
No longer used anywhere.
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): Tue Oct 15 20:07:51 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 497ec90760e..4f0622bccc6 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -361,15 +361,6 @@ static int skel_fchmod(vfs_handle_struct *handle, files_struct *fsp, return -1; } -static int skel_chown(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - uid_t uid, - gid_t gid) -{ - errno = ENOSYS; - return -1; -} - static int skel_fchown(vfs_handle_struct *handle, files_struct *fsp, uid_t uid, gid_t gid) { @@ -1080,7 +1071,6 @@ static struct vfs_fn_pointers skel_opaque_fns = { .unlinkat_fn = skel_unlinkat, .chmod_fn = skel_chmod, .fchmod_fn = skel_fchmod, - .chown_fn = skel_chown, .fchown_fn = skel_fchown, .lchown_fn = skel_lchown, .chdir_fn = skel_chdir, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index c8277017565..fd19e433ba3 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -480,14 +480,6 @@ static int skel_fchmod(vfs_handle_struct *handle, files_struct *fsp, return SMB_VFS_NEXT_FCHMOD(handle, fsp, mode); } -static int skel_chown(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - uid_t uid, - gid_t gid) -{ - return SMB_VFS_NEXT_CHOWN(handle, smb_fname, uid, gid); -} - static int skel_fchown(vfs_handle_struct *handle, files_struct *fsp, uid_t uid, gid_t gid) { @@ -1377,7 +1369,6 @@ static struct vfs_fn_pointers skel_transparent_fns = { .unlinkat_fn = skel_unlinkat, .chmod_fn = skel_chmod, .fchmod_fn = skel_fchmod, - .chown_fn = skel_chown, .fchown_fn = skel_fchown, .lchown_fn = skel_lchown, .chdir_fn = skel_chdir, |