mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
s3: Pass smb_filename through the set_offline vfs op
This commit is contained in:
committed by
Volker Lendecke
parent
c9d1e16c2c
commit
cf7dac6fbc
@ -1634,7 +1634,8 @@ static bool vfswrap_is_offline(struct vfs_handle_struct *handle,
|
||||
return (dmapi_file_flags(path) & FILE_ATTRIBUTE_OFFLINE) != 0;
|
||||
}
|
||||
|
||||
static int vfswrap_set_offline(struct vfs_handle_struct *handle, const char *path)
|
||||
static int vfswrap_set_offline(struct vfs_handle_struct *handle,
|
||||
const struct smb_filename *fname)
|
||||
{
|
||||
/* We don't know how to set offline bit by default, needs to be overriden in the vfs modules */
|
||||
#if defined(ENOTSUP)
|
||||
|
Reference in New Issue
Block a user