From: Noel Power Date: Fri, 11 Jun 2021 15:32:04 +0000 (+0100) Subject: VFS: glusterfs Remove SMB_VFS_CHFLAGS X-Git-Tag: tevent-0.11.0~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7eb3a7125e3b56c6400af09ec01c882dcad70dd;p=thirdparty%2Fsamba.git VFS: glusterfs Remove SMB_VFS_CHFLAGS Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c index 6dc31f2ae45..83076fc5d97 100644 --- a/source3/modules/vfs_glusterfs.c +++ b/source3/modules/vfs_glusterfs.c @@ -1994,14 +1994,6 @@ static int vfs_gluster_mknodat(struct vfs_handle_struct *handle, return ret; } -static int vfs_gluster_chflags(struct vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - unsigned int flags) -{ - errno = ENOSYS; - return -1; -} - static int vfs_gluster_fchflags(struct vfs_handle_struct *handle, struct files_struct *fsp, unsigned int flags) @@ -2380,7 +2372,6 @@ static struct vfs_fn_pointers glusterfs_fns = { .linkat_fn = vfs_gluster_linkat, .mknodat_fn = vfs_gluster_mknodat, .realpath_fn = vfs_gluster_realpath, - .chflags_fn = vfs_gluster_chflags, .fchflags_fn = vfs_gluster_fchflags, .file_id_create_fn = NULL, .fstreaminfo_fn = NULL,