From: Noel Power Date: Fri, 11 Jun 2021 14:45:38 +0000 (+0100) Subject: VFS: ceph: Add SMB_VFS_FCHFLAGS implementation X-Git-Tag: tevent-0.11.0~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69ef500b8d5fbcc55daf0b006ee3666e18d513b0;p=thirdparty%2Fsamba.git VFS: ceph: Add SMB_VFS_FCHFLAGS implementation Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index 0e7f2d89c88..fbe0fde2061 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -1265,6 +1265,14 @@ static int cephwrap_chflags(struct vfs_handle_struct *handle, return -1; } +static int cephwrap_fchflags(struct vfs_handle_struct *handle, + struct files_struct *fsp, + unsigned int flags) +{ + errno = ENOSYS; + return -1; +} + static int cephwrap_get_real_filename(struct vfs_handle_struct *handle, const struct smb_filename *path, const char *name, @@ -1636,6 +1644,7 @@ static struct vfs_fn_pointers ceph_fns = { .mknodat_fn = cephwrap_mknodat, .realpath_fn = cephwrap_realpath, .chflags_fn = cephwrap_chflags, + .fchflags_fn = cephwrap_fchflags, .get_real_filename_fn = cephwrap_get_real_filename, .connectpath_fn = cephwrap_connectpath,