return NT_STATUS_NOT_SUPPORTED;
}
-static bool vfswrap_is_offline(struct vfs_handle_struct *handle,
+static bool vfswrap_is_offline(struct connection_struct *conn,
const struct smb_filename *fname,
SMB_STRUCT_STAT *sbuf);
{
bool offline;
- offline = vfswrap_is_offline(handle, smb_fname, &smb_fname->st);
+ offline = vfswrap_is_offline(handle->conn, smb_fname, &smb_fname->st);
if (offline) {
*dosmode |= FILE_ATTRIBUTE_OFFLINE;
}
{
bool offline;
- offline = vfswrap_is_offline(handle, fsp->fsp_name, &fsp->fsp_name->st);
+ offline = vfswrap_is_offline(handle->conn,
+ fsp->fsp_name,
+ &fsp->fsp_name->st);
if (offline) {
*dosmode |= FILE_ATTRIBUTE_OFFLINE;
}
return false;
}
-static bool vfswrap_is_offline(struct vfs_handle_struct *handle,
+static bool vfswrap_is_offline(struct connection_struct *conn,
const struct smb_filename *fname,
SMB_STRUCT_STAT *sbuf)
{
return false;
}
- if (!lp_dmapi_support(SNUM(handle->conn)) || !dmapi_have_session()) {
+ if (!lp_dmapi_support(SNUM(conn)) || !dmapi_have_session()) {
#if defined(ENOTSUP)
errno = ENOTSUP;
#endif