1
0
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:
Volker Lendecke
2011-02-25 06:43:52 -07:00
committed by Volker Lendecke
parent c9d1e16c2c
commit cf7dac6fbc
8 changed files with 36 additions and 12 deletions

View File

@ -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)