diff options
author | Ralph Boehme <slow@samba.org> | 2020-05-20 23:26:14 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-05-21 20:38:34 +0000 |
commit | 32588c023e20eb5ab61512d8d5d0b6e9ac2c4d33 (patch) | |
tree | e02152dfb3df3ace16c5801ece220f7841a1da26 /examples/VFS | |
parent | 1a3cf6ba590de6644d591a1d96ac74dc68037bcb (diff) | |
download | samba-32588c023e20eb5ab61512d8d5d0b6e9ac2c4d33.tar.gz |
vfs: remove SMB_VFS_OPEN()
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples/VFS')
-rw-r--r-- | examples/VFS/skel_opaque.c | 8 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 4c42e3d96c2..1a9b472634d 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -191,13 +191,6 @@ static int skel_closedir(vfs_handle_struct *handle, DIR *dir) return -1; } -static int skel_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, - files_struct *fsp, int flags, mode_t mode) -{ - errno = ENOSYS; - return -1; -} - static int skel_openat(struct vfs_handle_struct *handle, const struct files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -1073,7 +1066,6 @@ static struct vfs_fn_pointers skel_opaque_fns = { /* File operations */ - .open_fn = skel_open, .openat_fn = skel_openat, .create_file_fn = skel_create_file, .close_fn = skel_close_fn, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index a57102607e3..fdb6d0d5f54 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -200,12 +200,6 @@ static int skel_closedir(vfs_handle_struct *handle, DIR *dir) return SMB_VFS_NEXT_CLOSEDIR(handle, dir); } -static int skel_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, - files_struct *fsp, int flags, mode_t mode) -{ - return SMB_VFS_NEXT_OPEN(handle, smb_fname, fsp, flags, mode); -} - static int skel_openat(struct vfs_handle_struct *handle, const struct files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -1380,7 +1374,6 @@ static struct vfs_fn_pointers skel_transparent_fns = { /* File operations */ - .open_fn = skel_open, .openat_fn = skel_openat, .create_file_fn = skel_create_file, .close_fn = skel_close_fn, |